I'm working on a vehicle event where a certain vehicle does AoE damage as long as it continues moving. I used the Permanent Immolation spell as a base, and created the following triggers to check if it is moving or not.
Any thoughts?
-
Move
-
Events
-
Time - Every 0.01 seconds of game time
-
-
Conditions
-
(Current order of Goblin Steam Roller 0013 <gen>) Equal to (Order(move))
-
-
Actions
-
Trigger - Turn off (This trigger)
-
Unit - Add Test Steam Roller (Not a real Steam Roller) to Goblin Steam Roller 0013 <gen>
-
Trigger - Turn on Stop <gen>
-
Game - Display to (All players) the text: Move Test Activated
-
-
-
Stop
-
Events
-
Time - Every 0.01 seconds of game time
-
-
Conditions
-
(Current order of Goblin Steam Roller 0013 <gen>) Equal to (Order(stop))
-
-
Actions
-
Trigger - Turn off (This trigger)
-
Unit - Remove Test Steam Roller (Not a real Steam Roller) from Goblin Steam Roller 0013 <gen>
-
Trigger - Turn on Move <gen>
-
Game - Display to (All players) the text: Stop Test Activated
-
-
Any thoughts?