Wintermute Engine Forum
Wintermute Engine => Bug reports => Topic started by: metamorphium on January 22, 2014, 02:18:20 PM
Title:
Engine crash - script trigger
Post by:
metamorphium
on
January 22, 2014, 02:18:20 PM
Hi.
I have encountered a replicable script crash (in case it was worth something):
In Scene Edit attach custom property to a region and call it IdObelisk with value 1
This code works flawlessly:
Code: WME Script
global
salia4_obelisksScanned;
var
id =
ToInt
(
this
.
IdObelisk
)
;
salia4_obelisksScanned
[
id
]
=
true
;
This code desktop crashes WME:
Code: WME Script
global
salia4_obelisksScanned;
salia4_obelisksScanned
[
ToInt
(
this
.
IdObelisk
)
]
=
true
;