HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

my move instantly trigger isn't working ;\

06-13-2004, 04:20 PM#1
Evaporaterr
Events
Time - pickherotimer expires
Conditions
Actions
Countdown Timer - Destroy (Last created timer window)
Unit Group - Pick every unit in (Units owned by Player 1 (Red) matching (((Picked unit) is A Hero) Equal to True)) and do (Actions)
Loop - Actions
Unit - Move (Picked unit) instantly to (Center of team1 spawn <gen>), facing 0.00 degrees


i already checked the obvious :
- player 1 has a hero
- the trigger is working, when pickherotimer expires the window closes.

dunno if this affects the trigger:
player 1's color changes before this trigger changes before the trigger starts.
player 1's hero is invulnerable before trigger starts.
the region where the hero is being moved makes the hero vulnerable (due to another trigger).
06-13-2004, 08:54 PM#2
Milkman
Why are you using a loop? You have already picked all the heroes, just use the Unit - move instantly action and you'll do fine.
I think that's your problem.
06-13-2004, 10:15 PM#3
Rafael Br
Unit Group - Pick every unit in (Units owned by Player 1 (Red) matching (((Picked unit) is A Hero) Equal to True)) and do (Actions)
Here is your error, try changing to this:
Unit Group - Pick every unit in (Units owned by Player 1 (Red) matching (((Matching unit) is A Hero) Equal to True)) and do (Actions)
06-13-2004, 11:25 PM#4
Evaporaterr
ok i got it to work.

apparently WE doesn't like player unit groups.. (well i only had 1 hero, i don't think it matters)

btw loops are convenient.. the only time i had trouble (that i am aware of) with them is when i used a OR loop condition, it made the map crash lol ;\

thanks for the help, it makes feel better that people help me :>
06-13-2004, 11:44 PM#5
Oinkerwinkle
Did you try having both the changes at the same time (Milkman's removal of the loop and Rafael Br's picked->matching)?
Code:
Events
    Time - pickherotimer expires
Conditions
Actions
    Countdown Timer - Destroy (Last created timer window)
    Unit Group - Pick every unit in (Units owned by Player 1 (Red) matching ((([u][b]Matching[/b][/u][b][/b] unit) is A Hero) Equal to True)) and do (Actions)
        Unit - Move (Picked unit) instantly to (Center of team1 spawn <gen>), facing 0.00 degrees
06-13-2004, 11:46 PM#6
Evaporaterr
lol oinkerwinkle... i guess u didnt catch my edit :(

so sorryz :<