DiDdY
New Member
- Reaction score
- 14
Hello, TheHelper.Net.
For a map I am assisting, I need some help. The aim of this, is to drop, at certain points, some kind of boxes containing different amounts of gold.
So far, I have this;
Trigger One; (it won't actually be a dragonhawk).
Trigger Two; (setting the regions).
Trigger Three; (dropping, not completed)
Okay, the aim of trigger 3 is to drop a footman from the DragonHawk riders height to the floor.. Unfortunately this doesn't work - any suggestions?
Any ideas?
EDIT: Changed DropPoint[1] etc..
For a map I am assisting, I need some help. The aim of this, is to drop, at certain points, some kind of boxes containing different amounts of gold.
So far, I have this;
Trigger One; (it won't actually be a dragonhawk).
Code:
Creating Plane
Events
Time - Every 10.00 seconds of game time
Conditions
Actions
Unit - Create 1 Dragonhawk Rider for Neutral Passive at (Center of Rect 004 <gen>) facing Default building facing (270.0) degrees
Unit - Order (Last created unit) to Move To (Center of DropPoint[(Random integer number between 0 and 3)])
Trigger Two; (setting the regions).
Code:
Setting Regions
Events
Map initialization
Conditions
Actions
Set DropPoint[0] = Rect 000 <gen>
Set DropPoint[1] = Rect 001 <gen>
Set DropPoint[2] = Rect 002 <gen>
Set DropPoint[3] = Rect 003 <gen>
Trigger Three; (dropping, not completed)
Code:
Droping Item
Events
Unit - A unit enters Rect 000 <gen>
Unit - A unit enters Rect 001 <gen>
Unit - A unit enters Rect 002 <gen>
Unit - A unit enters Rect 003 <gen>
Conditions
(Unit-type of (Triggering unit)) Equal to (==) Dragonhawk Rider
Actions
Unit - Order (Triggering unit) to Move To (Center of Rect 005 <gen>)
Unit - Create 1 Footman for Neutral Passive at (Position of (Triggering unit)) facing Default building facing (270.0) degrees
Unit - Add Crow Form to (Triggering unit)
Unit - Remove Crow Form from (Triggering unit)
Animation - Change (Last created unit) flying height to (Current flying height of (Triggering unit)) at 0.00
Animation - Change (Last created unit) flying height to 0.00 at 100.00
Unit - Add a ((Current flying height of (Triggering unit)) / 100.00) second Generic expiration timer to (Last created unit)
Wait (Elapsed time for (Last started timer)) seconds
Unit - Remove (Last created unit) from the game
Item - Create Gold Coins at (Position of (Last created unit))
Okay, the aim of trigger 3 is to drop a footman from the DragonHawk riders height to the floor.. Unfortunately this doesn't work - any suggestions?
Any ideas?
EDIT: Changed DropPoint[1] etc..