- Joined
- Jan 26, 2007
- Messages
- 4,789
Hello there, I am having some problems with a trigger and I just cannot figure out what's wrong with it...
Trigger Info:
The trigger should create a unit for light blue, which then casts wind walk and runs towards the end.
I have tested the trigger several times, ran into a few problems so I modified it a bit.
The new trigger should create 1 unit for red and 1 unit for light blue, yet it only creates 1 unit for light blue.
As you can see, I have used:
If I used the variable, the unit just won't move.
These problem remain:
Yes, the unit has the wind walk ability, I checked, double and triple checked that.
Yes, the ability can be activated with triggers, I have checked that.
No, I don't want red's unit to move and if I wanted to, it's not even spawning.
A bug with the world editor, or am I just really missing something here?
(Damn, I can create advanced triggers but I'm failing with this -.-).
Trigger Info:
The trigger should create a unit for light blue, which then casts wind walk and runs towards the end.
I have tested the trigger several times, ran into a few problems so I modified it a bit.
The new trigger should create 1 unit for red and 1 unit for light blue, yet it only creates 1 unit for light blue.
-
Tower check
-
Events
- Time - Every 3.00 seconds of game time
- Conditions
-
Actions
- Set loc[1] = (Center of Region 007 <gen>)
- Set loc[3] = (Center of nestajanje <gen>)
- Unit - Create 1 Anti-Block for Player 1 (Red) at loc[1] facing 90.00 degrees
- Unit - Create 1 Anti-Block for Player 10 (Light Blue) at loc[1] facing 90.00 degrees
- Unit - Order (Last created unit) to Move To (Center of nestajanje <gen>)
- Unit - Order (Last created unit) to Orc Blademaster - Wind Walk
- Custom script: call RemoveLocation(udg_loc[1])
- Custom script: call RemoveLocation(udg_loc[3])
-
Events
Unit - Order (Last created unit) to Move To (Center of nestajanje <gen>)
(I didnt use the loc-variable to remove the leak).If I used the variable, the unit just won't move.
These problem remain:
- Why doesn't the unit spawn for red? (Not that I need it anyway, it's just REALLY annoying me).
- Why doesn't the unit cast wind walk?
- Why can't I use the location-variable?
Yes, the unit has the wind walk ability, I checked, double and triple checked that.
Yes, the ability can be activated with triggers, I have checked that.
No, I don't want red's unit to move and if I wanted to, it's not even spawning.
A bug with the world editor, or am I just really missing something here?
(Damn, I can create advanced triggers but I'm failing with this -.-).