#16
Bump: I'd love help =(Actions
Set FlashGrenadeArea = (Target point of ability being cast)
Unit - Create 1 Flash Grenade Throw FX for (Owner of (Triggering unit)) at (Position of (Triggering unit)) facing Default building facing degrees
Set FlashGrenadeFX = (Last created unit)
Unit - Order FlashGrenadeFX to Neutral Tinker - Cluster Rockets (Target point of ability being cast)
Wait 1.00 seconds
Unit - Create 1 Flash Grenade Dummy for (Owner of (Triggering unit)) at FlashGrenadeArea facing (Position of (Triggering unit))
Set FlashGrenadeFXLight = (Last created unit)
Unit - Add a 2.00 second Generic expiration timer to FlashGrenadeFXLightBoot Requested
Events
Player - Player 1 (Red) types a chat message containing -boot as A substring
Player - Player 2 (Blue) types a chat message containing -boot as A substring
Player - Player 3 (Teal) types a chat message containing -boot as A substring
Player - Player 4 (Purple) types a chat message containing -boot as A substring
Player - Player 5 (Yellow) types a chat message containing -boot as A substring
Player - Player 6 (Orange) types a chat message containing -boot as A substring
Player - Player 7 (Green) types a chat message containing -boot as A substring
Player - Player 8 (Pink) types a chat message containing -boot as A substring
Player - Player 9 (Gray) types a chat message containing -boot as A substring
Player - Player 10 (Light Blue) types a chat message containing -boot as A substring
Player - Player 11 (Dark Green) types a chat message containing -boot as A substring
Player - Player 12 (Brown) types a chat message containing -boot as A substring
Conditions
Actions
Dialog - Clear BootDialog
Set PlayerConsidered = (Player((Integer((Substring((Entered chat string), 7, 8))))))
Dialog - Change the title of BootDialog to (Boot + ((Name of PlayerConsidered) + ?))
Dialog - Create a dialog button for BootDialog labelled Yes
Set Yes = (Last created dialog Button)
Dialog - Create a dialog button for BootDialog labelled No
Set No = (Last created dialog Button)
Player Group - Pick every player in (All players matching (((Matching player) slot status) Equal to Is playing)) and do (Actions)
Loop - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Picked player) Not equal to PlayerConsidered
Then - Actions
Dialog - Show BootDialog for (Picked player)
Else - Actions
Countdown Timer - Start VoteTime as a One-shot timer that will expire in 10.00 seconds
Countdown Timer - Create a timer window for VoteTime with title Time to vote:
Set VoteTimeWindow = (Last created timer window)
Countdown Timer - Show VoteTimeWindow
Trigger - Turn off (This trigger)
PurplePootbow down, wretch, bow down to your master!
lol, jk, uuh
#1) fix that leak in ur flash grenade trigger
#2) your problem is...
in JASS, the start of any line
eg.( loop, call, set, endloop, if, function, endif, endfunction, then, else, local, return, elseif ) etc, etc
cannot be capitalized.