I've just started SC2 Map Editor or any editor like it (saw WC3 editor after using SC1 editor and said eff that). Having a hard time following some of the tutorials but exploring it on my own I am figuring stuff out now. Well to the question...
Action: Create the same unit in its place after 'x' seconds after initial one dies.
this is what I got so far....
Events:
Game - Map Initialization
Actions:
> IF
[All units in (variable)[0] are dead==true
> Then
(Unit - Create 1 unit for player 'x' at 'point' using default facing (No Options)
> Else
Trigger - Stop all instances 'of this trigger'
Any suggestions, tips, or anything that gets me to figure this out (been working on it for about 3 days Im terrible) and thanks again.
It's hard to tell what you are trying to do here. You simply want a trigger that respawns a unit after a set time period? Easiest way to do that would be this:
Events:
Any Unit Dies
Conditions:
Unit type of (Triggering Unit) is equal to (the unit type you want to have respawn)
Variables:
Dead Unit (Unit Variable) = Dying Unit
Dying Position (Point Variable) = Position of (Dying Unit)
Actions:
Wait (your amount of time)
Create 1 (unit type (Dead Unit)) for (owner of (Dead Unit)) at (Dying Position)
Lol well I think I found the problem....my triggers were bugged!!! It was driving me nuts and found out my map was using triggers from an older map? Because I did almost exactly what you did but wasn't saving to map. I really appreciate it, that exactly what I wanted!!!@wingednosering: Go
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
I've just started SC2 Map Editor or any editor like it (saw WC3 editor after using SC1 editor and said eff that). Having a hard time following some of the tutorials but exploring it on my own I am figuring stuff out now. Well to the question...
Action: Create the same unit in its place after 'x' seconds after initial one dies.
this is what I got so far....
Events: Game - Map Initialization Actions:
> IF
[All units in (variable)[0] are dead==true
> Then
(Unit - Create 1 unit for player 'x' at 'point' using default facing (No Options)
> Else
Trigger - Stop all instances 'of this trigger'
Any suggestions, tips, or anything that gets me to figure this out (been working on it for about 3 days Im terrible) and thanks again.
It's hard to tell what you are trying to do here. You simply want a trigger that respawns a unit after a set time period? Easiest way to do that would be this:
Events:
Conditions:
Variables:
Actions:
Lol well I think I found the problem....my triggers were bugged!!! It was driving me nuts and found out my map was using triggers from an older map? Because I did almost exactly what you did but wasn't saving to map. I really appreciate it, that exactly what I wanted!!!@wingednosering: Go