Ok, so i still can't get it working..
What it supposed to do:
A Unit owned by player Red, Uses the spell 'Enter Helicopter' on a Helicopter.
He automaticly changes owner and enters the helicopter.
The Helicopter goes higher in the air, and then moves to a other Region.
then the helicopter goes down [land], and the unit will be ordered to be unloaded, and the owner is changed to red again.
Heres what i have:
And this is the, Fly Higher Trigger, with Init Off.
And as u see in the trigger above, its going to run this.
I have the same for Fly Lower, but it makes it go lower.
READ:
Were the problem starts is:
If he uses the spell on the helicopter, it doesnt even target it, like it can't.
I said able to target : anything. enemies,decorative, i checked all.
The spell is based of load.
Please help me +rep
What it supposed to do:
A Unit owned by player Red, Uses the spell 'Enter Helicopter' on a Helicopter.
He automaticly changes owner and enters the helicopter.
The Helicopter goes higher in the air, and then moves to a other Region.
then the helicopter goes down [land], and the unit will be ordered to be unloaded, and the owner is changed to red again.
Heres what i have:
Trigger:
- Storymode
- Events
- Unit - A unit Starts the effect of an ability
- Conditions
- (Ability being cast) Equal to |cffff7f50Enter|r |cff008000FFWD|r |cffff7f50Helicopter|r?
- (Target unit of ability being cast) Equal to '|cff008000FFWD|r'|cffff0000 |rHelicopter (Story) 0002 <gen>
- Actions
- Unit - Change ownership of (Casting unit) to Player 11 (Dark Green) and Retain color
- Unit - Order '|cff008000FFWD|r'|cffff0000 |rHelicopter (Story) 0002 <gen> to Load (Casting unit)
- Trigger - Turn on Fly Higher Story <gen>
- Unit - Order '|cff008000FFWD|r'|cffff0000 |rHelicopter (Story) 0002 <gen> to Move To (Center of Story helicopter to Missions <gen>)
- Trigger - Turn on Fly Lower Story <gen>
- Unit - Order '|cff008000FFWD|r'|cffff0000 |rHelicopter (Story) 0002 <gen> to Unload (Casting unit)
- Unit - Change ownership of (Casting unit) to Player 1 (Red) and Retain color
- Events
And this is the, Fly Higher Trigger, with Init Off.
And as u see in the trigger above, its going to run this.
I have the same for Fly Lower, but it makes it go lower.
Trigger:
- Fly Higher Story
- Events
- Time - Every 0.10 seconds of game time
- Conditions
- Actions
- Animation - Change '|cff008000FFWD|r'|cffff0000 |rHelicopter (Story) 0002 <gen> flying height to (Current flying height of '|cff008000FFWD|r'|cffff0000 |rHelicopter (Story) 0002 <gen>) at ((Current flying height of '|cff008000FFWD|r'|cffff0000 |rHelicopter (Story) 0002 <gen>) + 5.00)
- Wait 4.00 seconds
- Trigger - Turn off Fly Higher Story <gen>
- Events
READ:
Were the problem starts is:
If he uses the spell on the helicopter, it doesnt even target it, like it can't.
I said able to target : anything. enemies,decorative, i checked all.
The spell is based of load.
Please help me +rep