Please login or register.

Login with username, password and session length
Advanced search  

News:

IRC channel - server: waelisch.de  channel: #wme (read more)

Author Topic: Engine crash - script trigger  (Read 8770 times)

0 Members and 1 Guest are viewing this topic.

metamorphium

  • Global Moderator
  • Addicted to WME forum
  • *
  • Karma: 12
  • Offline Offline
  • Gender: Male
  • Posts: 1511
  • Vampires!
    • View Profile
    • CBE  software s.r.o.
Engine crash - script trigger
« 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
  1. global salia4_obelisksScanned;
  2. var id = ToInt(this.IdObelisk);
  3. salia4_obelisksScanned[id] = true;
  4.  


This code desktop crashes WME:

Code: WME Script
  1. global salia4_obelisksScanned;
  2.  
  3. salia4_obelisksScanned[ToInt(this.IdObelisk)] = true;
  4.  
  5.  
Logged
J.U.L.I.A. Enhanced Edition, Vampires!, J.U.L.I.A., J.U.L.I.A. Untold, Ghost in the Sheet
 

Page created in 0.208 seconds with 21 queries.