uh i know this is really nubish but after a little moment of searching the Trigger - actions, i realized that there is no way to directly stop a trigger without turning it off. will turning it off and turning it on work? i've added a repick trigger to a ver of SOL's RPG that i've replaced Waugriff's rigged worm in, and am not sure if it would continually loop or not (i had a trigger to spawn units when something entered a region and it didn't turn off, so there were about 50-100 harpies in 1 screen for the one entering of the place.)
the trigger goes
i'd like to know if this will stop itself or if i'll have to put something in like
on the end, or if it would work at all.
the trigger goes
Code:
Repick
Events
Player - Player 1 (Red) types a chat message containing -repick as An exact match
Player - Player 2 (Blue) types a chat message containing -repick as An exact match
Player - Player 3 (Teal) types a chat message containing -repick as An exact match
Player - Player 4 (Purple) types a chat message containing -repick as An exact match
Player - Player 5 (Yellow) types a chat message containing -repick as An exact match
Player - Player 6 (Orange) types a chat message containing -repick as An exact match
Player - Player 7 (Green) types a chat message containing -repick as An exact match
Player - Player 8 (Pink) types a chat message containing -repick as An exact match
Player - Player 9 (Gray) types a chat message containing -repick as An exact match
Player - Player 10 (Light Blue) types a chat message containing -repick as An exact match
Player - Player 11 (Dark Green) types a chat message containing -repick as An exact match
Player - Player 12 (Brown) types a chat message containing -repick as An exact match
Conditions
Actions
Unit Group - Pick every unit in (Units owned by (Triggering player)) and do (Unit - Remove (Picked unit) from the game)
Player - Set (Triggering Player) Current gold to 750
Player - Set (Triggering Player) Current lumber to 100
Unit - Create 1 [hero picking unit] for (Picked player) at (Center of Spawning Ground <gen>) facing Default building facing degrees
i'd like to know if this will stop itself or if i'll have to put something in like
Code:
Actions
Trigger - Turn off (This Trigger)
Trigger - Turn on (This Trigger)