Yo !
I got a problem I hope someone is willing to help me with, well here it is;
I have flight paths in my RPG, basicly once I buy a ticket to a certain place a Gryphon Raider spawns with the Goblin Zeppeline load and unload skill, and then it should load the hero buying the item and fly with it to the destination and then unload it at the destination region. Heres triggers, but they dont work =/
I whonder if someone know a better way to do it;
Training Forest 1
Events
Unit - A unit Acquires an item
Conditions
(Item-type of (Item being manipulated)) Equal to Flight Ticket: Training Forest
Actions
Unit - Create 1 Gryphon for Player 1 (Red) at (Position of (Hero manipulating item)) facing (Position of Gryphon Aviary 0016 <gen>)
Unit - Order (Last created unit) to Load (Hero manipulating item)
Special Effect - Create a special effect at (Position of (Hero manipulating item)) using Abilities\Spells\NightElf\Blink\BlinkCaster.mdl
Unit - Order (Last created unit) to Move To (Center of Flightpath Burrins Expedition <gen>)
Training Forest 2
Events
Unit - A unit enters Flightpath Burrins Expedition <gen>
Conditions
(Unit-type of (Entering unit)) Equal to Gryphon
Actions
Unit Group - Pick every unit in (Units of type Gryphon) and do (Unit - Order (Picked unit) to Unload (Hero manipulating item))
Special Effect - Create a special effect at (Position of (Hero manipulating item)) using Abilities\Spells\NightElf\Blink\BlinkCaster.mdl
Unit Group - Pick every unit in (Units of type Gryphon) and do (Unit - Remove (Picked unit) from the game)
Edit: How do I do so the trigger goes in to a code text?
I got a problem I hope someone is willing to help me with, well here it is;
I have flight paths in my RPG, basicly once I buy a ticket to a certain place a Gryphon Raider spawns with the Goblin Zeppeline load and unload skill, and then it should load the hero buying the item and fly with it to the destination and then unload it at the destination region. Heres triggers, but they dont work =/
I whonder if someone know a better way to do it;
Training Forest 1
Events
Unit - A unit Acquires an item
Conditions
(Item-type of (Item being manipulated)) Equal to Flight Ticket: Training Forest
Actions
Unit - Create 1 Gryphon for Player 1 (Red) at (Position of (Hero manipulating item)) facing (Position of Gryphon Aviary 0016 <gen>)
Unit - Order (Last created unit) to Load (Hero manipulating item)
Special Effect - Create a special effect at (Position of (Hero manipulating item)) using Abilities\Spells\NightElf\Blink\BlinkCaster.mdl
Unit - Order (Last created unit) to Move To (Center of Flightpath Burrins Expedition <gen>)
Training Forest 2
Events
Unit - A unit enters Flightpath Burrins Expedition <gen>
Conditions
(Unit-type of (Entering unit)) Equal to Gryphon
Actions
Unit Group - Pick every unit in (Units of type Gryphon) and do (Unit - Order (Picked unit) to Unload (Hero manipulating item))
Special Effect - Create a special effect at (Position of (Hero manipulating item)) using Abilities\Spells\NightElf\Blink\BlinkCaster.mdl
Unit Group - Pick every unit in (Units of type Gryphon) and do (Unit - Remove (Picked unit) from the game)
Edit: How do I do so the trigger goes in to a code text?