The title explains some of what I want... I want to create a Special Ops Dropship for player 14 at point one, then make it move to point 2, then move to point 3. Then, I want it to create 3 marines and this hero unit inside its cargo, then drop them off. Then the dropship should go back to point 1 and then remove itself.
Order last created unit to move towards (point) (replace existing orders)
Order last created unit to unload all at (point) (after existing orders)
Order last created unit to move towards (point) (after existing orders)
Somewhere in there i would add an expiration timer for the drop ship, or create another trigger using a region removing the drop when it enters it.
Also, i wouldn't use player 14, just change the color and make it unselectable, because im not sure what player the cargo units action creates the units for.
Hm... one more thing. After the dropship drops of the marines, I want one of the marines to go to player 1's control and another marine to go to player 2's control. How can I do this?
Lol that's a helpful trigger, didn't know about that one! Anyways sergeant, maybe do 'pick each unit in u it group ( last created units ). Then have an If then else and use it to send the first marine one way on the second marine the other. I'm writing from my iPad right now so I can't give you an example map. The trigger:
Local variables : tick ( Boolean, default value of false)
Pick each unit in unit group ( last created units )
If
tick == false
Then
Issue order to ( picked unit ) to move to ( the first base)
Set variable (tick) to true
Else
Issue order to (picked unit ) to move to ( the second base)
Rollback Post to RevisionRollBack
Feel free to Send me a PM if you have any questions/concerns!
Where'd you get that trigger? I've looked around and I can't find it.
Anyway, I'm having trouble getting the dropship to unload at point 3. I don't know what I'm doing wrong... but then again, I'm just putting in triggers that sound right and tweaking them to sound even more right. What I've accomplished so far is getting the dropship to spawn at point 1, then go to point 2, and then to point 3. Here's the triggers below:
Unit - Create 1 Special Ops Dropship for player 0 at Point 001 facing Point 002 (No Options)
Unit Group - Add (Last created unit) to (Empty unit group)
Camera - Follow for player 1 (Last created units) with the camera and Keep Current Target
Camera - Follow for player 2 (Last created units) with the camera and Keep Current Target
Unit - Order (Last created unit) to ( Move targeting Point 002) (Replace Existing Orders)
Unit - Order (Last created unit) to ( Move targeting Point 003) (After Existing Orders)
And here's the second set:
Unit - Create 3 Marine as cargo in (Last created unit)
Unit - Create 1 Test Hero as cargo in (Last created unit)
Unit - Order all units in (Empty unit group) to (Special Ops Dropship - Unload All (Medivacs) targeting Point 003) (Replace Existing Orders)
Unit - Order (Unit 1 from (Empty unit group)) to ( Move targeting Point 002) (After Existing Orders)
Unit - Order (Unit 1 from (Empty unit group)) to ( Move targeting Point 001) (After Existing Orders)
The title explains some of what I want... I want to create a Special Ops Dropship for player 14 at point one, then make it move to point 2, then move to point 3. Then, I want it to create 3 marines and this hero unit inside its cargo, then drop them off. Then the dropship should go back to point 1 and then remove itself.
@Sergeant897: Go
Create 1 Special Ops at (Point)
Create Cargo units for Last created unit
Order last created unit to move towards (point) (replace existing orders)
Order last created unit to unload all at (point) (after existing orders)
Order last created unit to move towards (point) (after existing orders)
Somewhere in there i would add an expiration timer for the drop ship, or create another trigger using a region removing the drop when it enters it.
Also, i wouldn't use player 14, just change the color and make it unselectable, because im not sure what player the cargo units action creates the units for.
Hm... one more thing. After the dropship drops of the marines, I want one of the marines to go to player 1's control and another marine to go to player 2's control. How can I do this?
This is a nice little jewel.
Lol that's a helpful trigger, didn't know about that one! Anyways sergeant, maybe do 'pick each unit in u it group ( last created units ). Then have an If then else and use it to send the first marine one way on the second marine the other. I'm writing from my iPad right now so I can't give you an example map. The trigger:
Local variables : tick ( Boolean, default value of false)
Pick each unit in unit group ( last created units )
If
tick == false
Then
Issue order to ( picked unit ) to move to ( the first base)
Set variable (tick) to true
Else
Issue order to (picked unit ) to move to ( the second base)
@deathtorn: Go
Where'd you get that trigger? I've looked around and I can't find it.
Anyway, I'm having trouble getting the dropship to unload at point 3. I don't know what I'm doing wrong... but then again, I'm just putting in triggers that sound right and tweaking them to sound even more right. What I've accomplished so far is getting the dropship to spawn at point 1, then go to point 2, and then to point 3. Here's the triggers below:
Unit - Create 1 Special Ops Dropship for player 0 at Point 001 facing Point 002 (No Options) Unit Group - Add (Last created unit) to (Empty unit group) Camera - Follow for player 1 (Last created units) with the camera and Keep Current Target Camera - Follow for player 2 (Last created units) with the camera and Keep Current Target Unit - Order (Last created unit) to ( Move targeting Point 002) (Replace Existing Orders) Unit - Order (Last created unit) to ( Move targeting Point 003) (After Existing Orders)
And here's the second set:
Unit - Create 3 Marine as cargo in (Last created unit) Unit - Create 1 Test Hero as cargo in (Last created unit) Unit - Order all units in (Empty unit group) to (Special Ops Dropship - Unload All (Medivacs) targeting Point 003) (Replace Existing Orders) Unit - Order (Unit 1 from (Empty unit group)) to ( Move targeting Point 002) (After Existing Orders) Unit - Order (Unit 1 from (Empty unit group)) to ( Move targeting Point 001) (After Existing Orders)
@Sergeant897:
If you set your dependencies to everything, it'll show up.
@deathtorn: Go
Could you tell me where I can find it? I've added all the dependencies... still no action like that. I've wasted at least an hour looking for it...
u create tiggers.
open the trigger windows in editor and on the left subwindow rightclick and add trigger.
then add events and actions based on above