Warcraft 3 Crashing Upon Execution of a specific Trigger

EqualiseR

New Member
Reaction score
1
I have Windows 7.


I recently started working on a new map and for some reason when I use this simple trigger, Warcraft 3 crashes- no error.



The trigger is:



Events
Unit - A unit owned by Player 1 (Red) Is issued an order targeting a point
Conditions
Actions
Unit - Order Tower_DG to Attack Ground (Target point of issued order)
Wait 3.00 seconds
Unit - Order Tower_DG to Stop



I have tried many variations of this trigger and for some reason it still keeps crashing whenever I target a point. I even created a blank map and tested this and warcraft 3 still crashed.


Please help resolve this :)

Thank you,
Equaliser
 

drol

New Member
Reaction score
7
The reason WC3 crashes is because the trigger triggers itself and it gets stuck in an unending loop which takes all of your CPU and RAM and makes WC3 crash :)
 

EqualiseR

New Member
Reaction score
1
The reason WC3 crashes is because the trigger triggers itself and it gets stuck in an unending loop which takes all of your CPU and RAM and makes WC3 crash :)

Thanks for the answer, how would I fix that though?
 

tommerbob

Minecraft. :D
Reaction score
110
Change the above trigger to this:

Events
Unit - A unit owned by Player 1 (Red) Is issued an order targeting a point
Conditions
Actions
Turn off (this trigger)
Unit - Order Tower_DG to Attack Ground (Target point of issued order)
Turn on (this trigger)
Wait 3.00 seconds
Unit - Order Tower_DG to Stop
 

EqualiseR

New Member
Reaction score
1
Change the above trigger to this:

Events
Unit - A unit owned by Player 1 (Red) Is issued an order targeting a point
Conditions
Actions
Turn off (this trigger)
Unit - Order Tower_DG to Attack Ground (Target point of issued order)
Turn on (this trigger)
Wait 3.00 seconds
Unit - Order Tower_DG to Stop


Thanks tommerbob, buy I don't understand how that will working seeing as:


Turn off (this trigger)
Unit - Order Tower_DG to Attack Ground (Target point of issued order)
Turn on (this trigger)

"Turn off (this trigger)" will prevent future executions such as "Turn on (this trigger)" so as far as I know that won't work. Please elaborate:)


Thank you, still need help :)
 

tommerbob

Minecraft. :D
Reaction score
110
The action "Turn off trigger" does not prevent the other actions in the trigger from occurring. It simply turns off the trigger's Event from firing again, until you turn it back on.
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top