| 04-12-2004, 09:43 PM | #1 |
I hvan't a roblem i'm still pretty new to this, ok well i want to a remove a unit when a new unit is created for example: There is currently a archmage on the map, if i hire a new hero the archmage will be removed and the new hero is playable. -alain |
| 04-12-2004, 11:44 PM | #2 |
Uhm... try clarifying what ure asking, Im kinda assuming you want to know how to set up the trigger, but I'm not sure. |
| 04-13-2004, 12:22 PM | #3 |
If you want that when you get another hero the first one is removed from the map, you could do something like: Event: Unit - A Unit enters Entire Map Conditions: Actions: If (All conditions are true) then do (Then Actions) else do (Else Actions) -If - Conditions: --Entering Unit is a Hero equal to True --Current_Hero Not equal to No Unit -Then - Actions: --Remove Current_Hero from the game --Set Current_Hero = Entering Unit -Else - Actions: --Set Current_Hero = Entering Unit Edit: If you want it to work on normal units too, just remove the condition "Entering Unit is a Hero equal to True". |
| 04-13-2004, 12:27 PM | #4 | |
Quote:
if you can't answer it, but you want to contribute to helping, post |
