I am having trouble with creating a trigger in GUI
a flying unit comes in swoops down
picks up targeted unit
targeted unit is flown around for 10 seconds in randomly
after 10 seconds the unit is dropped
a prime example of what i am looking for is in this map [[Skill : Dragon escort ]]
http://www.epicwar.com/maps/53283/
thx in advance anyone willing to help
Carrier Skill
Moderator: Cheaters
-
- Forum Fanatic
- Posts: 315
- Joined: October 16th, 2007, 7:32 pm
Re: Carrier Skill
Couldn't you just make the flying units height change to match the land unit than have an attachment point on the flying unit to attach the unit, than when you want to drop the unit remove the attachment, and make the unit flying height go from the height of the flying unit to the height of the land units original...
You would have to make an item that looks like the unit than when the flying unit picks it up you could attach the item to the bottom(remove the unit, or just move it far away and remove it from the mini map), than when you drop it you remove the item(re add the unit) and add the unit with its flying height the same as the flying unit, then make it fall by changing the height
It sounds confusing yes. Especially because i don't know how to make the trigger. But that would work.
You could also make the flying unit fly randomly by just making a command like this.
Random Movement Trigger
Event:Every (5 seconds) of game time (Any time you want)
Condition:(Triggering Unit) equal to (holding(your item name)) (The item that looks like your hero, with the attachment point on the bottom)
Action:Disable user control for (owner of(Triggering unit)) (if its there only unit and if you don't want them to move it whale its doing the Random movement)
Order (Unit) to (move) to (random point in entire map)
The other trigger i cant help you with sorry.
You would have to make an item that looks like the unit than when the flying unit picks it up you could attach the item to the bottom(remove the unit, or just move it far away and remove it from the mini map), than when you drop it you remove the item(re add the unit) and add the unit with its flying height the same as the flying unit, then make it fall by changing the height
It sounds confusing yes. Especially because i don't know how to make the trigger. But that would work.
You could also make the flying unit fly randomly by just making a command like this.
Random Movement Trigger
Event:Every (5 seconds) of game time (Any time you want)
Condition:(Triggering Unit) equal to (holding(your item name)) (The item that looks like your hero, with the attachment point on the bottom)
Action:Disable user control for (owner of(Triggering unit)) (if its there only unit and if you don't want them to move it whale its doing the Random movement)
Order (Unit) to (move) to (random point in entire map)
The other trigger i cant help you with sorry.