G
Gyros321
Guest
ok I am doing a basic revive command.
i have right now nothing really
well i mean thats as far as I have. I want it so that every 2 seconds it will revive a certain unit if it dies else do nothing. This is a very basic command. However the units I want to revive are NOT heros (hence not able to revive).
So can someone give me a command like this that will revive or do something with those units?
Thanks.
P.S. WHen I tried changing all the units into heros (made a new custom unit as a hero) everything was messed up. All my triggers condition statements got changed to that new hero but in my maze I have two different types of heros. Let's say in one trigger I had Hero A as a condition (i.e. Unit type of (triggering unit) =/= to Hero A). It changed all the Hero A's to Hero B's (the new hero).
And I had at least 100 + triggers with conditions on hero A so i don't want to redo it all.
Thanks again!
P.S.S
This is what I have so far... in my other revive
i have right now nothing really
Code:
Events
Every 2.00 seconds of game time
Conditions
Action
If, Then, Else (multiple functions)
well i mean thats as far as I have. I want it so that every 2 seconds it will revive a certain unit if it dies else do nothing. This is a very basic command. However the units I want to revive are NOT heros (hence not able to revive).
So can someone give me a command like this that will revive or do something with those units?
Thanks.
P.S. WHen I tried changing all the units into heros (made a new custom unit as a hero) everything was messed up. All my triggers condition statements got changed to that new hero but in my maze I have two different types of heros. Let's say in one trigger I had Hero A as a condition (i.e. Unit type of (triggering unit) =/= to Hero A). It changed all the Hero A's to Hero B's (the new hero).
And I had at least 100 + triggers with conditions on hero A so i don't want to redo it all.
Thanks again!
P.S.S
This is what I have so far... in my other revive
Code:
Events
Unit - A unit owned by Player 1 (Red) Dies
Unit - A unit owned by Player 2 (Blue) Dies
Unit - A unit owned by Player 3 (Teal) Dies
Unit - A unit owned by Player 4 (Purple) Dies
Unit - A unit owned by Player 5 (Yellow) Dies
Unit - A unit owned by Player 6 (Orange) Dies
Unit - A unit owned by Player 7 (Green) Dies
Unit - A unit owned by Player 8 (Pink) Dies
Unit - A unit owned by Player 9 (Gray) Dies
Unit - A unit owned by Player 10 (Light Blue) Dies
Conditions
Actions
If ((All units of (Units of type Dead guy) are dead) Equal to True) then do (Set Continue = (Continue - 1)) else do (Skip remaining actions)
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Continue Equal to -1
Then - Actions
Cinematic - Fade out over 10.00 seconds using texture Black Mask and color (100.00%, 100.00%, 100.00%) with 0.00% transparency
Wait 1.00 seconds
Player Group - Pick every player in (All players) and do (Game - Defeat (Picked player) with the message: You have failed to ...)
Else - Actions
Wait 2.00 seconds
Sound - Play Warning <gen> at 100.00% volume, located at (Center of Reallevel) with Z offset 0.00
Hero - Instantly revive Dead guy 0012 <gen> at (Center of Reallevel), Hide revival graphics
Hero - Instantly revive Dead guy 0013 <gen> at (Center of Reallevel), Hide revival graphics
Hero - Instantly revive Dead guy 0014 <gen> at (Center of Reallevel), Hide revival graphics
Hero - Instantly revive Dead guy 0015 <gen> at (Center of Reallevel), Hide revival graphics
Hero - Instantly revive Dead guy 0016 <gen> at (Center of Reallevel), Hide revival graphics
Hero - Instantly revive Dead guy 0017 <gen> at (Center of Reallevel), Hide revival graphics
Hero - Instantly revive Dead guy 0018 <gen> at (Center of Reallevel), Hide revival graphics
Hero - Instantly revive Dead guy 0019 <gen> at (Center of Reallevel), Hide revival graphics
Hero - Instantly revive Dead guy 0020 <gen> at (Center of Reallevel), Hide revival graphics
Hero - Instantly revive Dead guy 0021 <gen> at (Center of Reallevel), Hide revival graphics
Player Group - Pick every player in (All players) and do (Camera - Pan camera for (Picked player) to (Center of Reallevel) over 0.00 seconds)
Game - Display to Player Group - Player 1 (Red) the text: (|c00eaea99Your Continues ( + ((String(Continue)) + )))
Multiboard - Set the text for (Last created multiboard) item in column 1, row 1 to (|c00eaea00Continues + (String(Continue)))
Multiboard - Set the text for (Last created multiboard) item in column 1, row 2 to (|c00eaea00Level + (String(Level)))