- Joined
- May 1, 2011
- Messages
- 645
So, I had an idea in making a system that would be like the starcraft terran delivery, like units get delivered to the rally point, when they are trained. So it is still not MUI, I have just been testing the triggers on how to do this. btw who anyone who would want to help me, please suggest a model of a delivery pod or a rocket ship or something. Or, I could make my own pod-like model.
btw here are the (NON-MUI) Triggers
btw here are the (NON-MUI) Triggers
-
Initialization
-
Events
- Map initialization
- Conditions
-
Actions
- Set SummonDelay = 3.00
- Set SummonerSpeed = 350.00
- Set SummonerHeight = 2000.00
-
Events
-
Summon
-
Events
- Unit - A unit Finishes training a unit
- Conditions
-
Actions
- Set trainer = (Triggering unit)
- Set trained = (Trained unit)
- Set point = (Position of trained)
- Unit - Create 1 Phoenix for (Owner of (Triggering unit)) at point facing Default building facing degrees
- Custom script: call RemoveLocation( udg_point )
- Set deliverer = (Last created unit)
- Unit - Hide trained
- Animation - Change deliverer flying height to SummonerHeight at SummonerSpeed
- Set point = (Position of trained)
- Set point1 = (Rally-Point of trainer as a point)
- Wait (SummonerHeight / SummonerSpeed) seconds
- Unit - Hide deliverer
- Wait ((Distance between point and point1) / SummonerSpeed) seconds
- Custom script: call RemoveLocation( udg_point )
- Custom script: call RemoveLocation( udg_point1 )
- Set point = (Rally-Point of trainer as a point)
- Unit - Move trained instantly to point
- Unit - Move deliverer instantly to point
- Unit - Unhide deliverer
- Animation - Change deliverer flying height to 0.00 at SummonerSpeed
- Wait (SummonerHeight / SummonerSpeed) seconds
- Unit - Kill deliverer
- Unit - Unhide trained
- Animation - Play trained's birth animation
- Custom script: call RemoveLocation( udg_point )
-
Events