• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

Map ignoring triggers

Status
Not open for further replies.
Level 4
Joined
Jan 5, 2014
Messages
79
Hello, my map has just started to ignore all the triggers.

I mean i have a map with lots of triggers and when i test it now, none of the trigger is being executed (i have for example visibility modifier, which gives a player vison over the whole map at map inicialization, but it doesnt work)

Does anyone know the possible reason?
 
Level 4
Joined
Jan 5, 2014
Messages
79
Try uploading the map or showing us your triggers/code.

ok, i will upload the map, the code is quite complex

see for example initial actions in Knoback System - Basic Things (what should it do and virtually does not)

Edit: I have also tried exporting the triggers to another map, didnt help.
Can be the problem that there are too many triggers? I have also lots of triggers working in 0.02 sec intervals.
 

Attachments

  • KnocbackSystem 0.4d.w3x
    32.3 KB · Views: 42
Level 26
Joined
Aug 18, 2009
Messages
4,097
You have two 8k sized arrays. Those will translate to loops with 8k iterations and will cause too many operations, therefore break the thread. The variable initialization is done within the main thread which also inits your triggers and all the other stuff at the beginning.
 
Level 4
Joined
Jan 5, 2014
Messages
79
You have two 8k sized arrays. Those will translate to loops with 8k iterations and will cause too many operations, therefore break the thread. The variable initialization is done within the main thread which also inits your triggers and all the other stuff at the beginning.

Yeah, I thought so, so i changed it.
 
Status
Not open for further replies.
Top