Having a hard time making a unit spawn, come out of a drop pod, then walk to a point during a cinematic. His drop pod comes down, and he takes like 1 step out of it (which I conclude is just part of the drop pod animation sequence), but I can't get him to move to a new destination. Here's what my trigger looks like:
What line should I add after the last one to issue the order to move? I think the drop pod is somehow interfering with subsequent issue orders.
Save the firebat reference in a local unit variable.
Then order the unit in that variable to move to target point after your drop landed (-> after the drop pod action).
You need to change the order type in the order action. You need to click the green "(" for that and chose the correct order type.
1. Add a variable inside the trigger. At top you can see the field "local Variables". RIght click there and add one OR select it and press ctrl + w.
2. Make the variable store the type "unit".
3. use the trigger action under variables which allows you to set variables
4. set the variable after creating the firebat to "last created unit".
5. Add order action.
6. Change order type to the correct one with target point in the name.
7. chose unit (-> use your unit variable), the command (maybe move or attack) and the target point (point or center of region, etc)
Don't need varibles.. Just switch places with "Campaign - Create Terran drop pod..." and "Unit - Create 1 firebat..." and add "Unit - Order (last created unit) to (Move) targeting (Point)"
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
Having a hard time making a unit spawn, come out of a drop pod, then walk to a point during a cinematic. His drop pod comes down, and he takes like 1 step out of it (which I conclude is just part of the drop pod animation sequence), but I can't get him to move to a new destination. Here's what my trigger looks like:
What line should I add after the last one to issue the order to move? I think the drop pod is somehow interfering with subsequent issue orders.
<Click Here> To See My Epic Single Player Campaign (LifeForceCampaign.com)
Save the firebat reference in a local unit variable.
Then order the unit in that variable to move to target point after your drop landed (-> after the drop pod action).
You need to change the order type in the order action. You need to click the green "(" for that and chose the correct order type.
@Ahli634: Go
Argh you're losing me.... how do I save the firebat reference to a local unit variable?
<Click Here> To See My Epic Single Player Campaign (LifeForceCampaign.com)
1. Add a variable inside the trigger. At top you can see the field "local Variables". RIght click there and add one OR select it and press ctrl + w.
2. Make the variable store the type "unit".
3. use the trigger action under variables which allows you to set variables
4. set the variable after creating the firebat to "last created unit".
5. Add order action.
6. Change order type to the correct one with target point in the name.
7. chose unit (-> use your unit variable), the command (maybe move or attack) and the target point (point or center of region, etc)
@Ahli634: Go
A simple thing that makes total sense conceptually that I would never figure out on my own. Thanks Ahli, you are awesome.
<Click Here> To See My Epic Single Player Campaign (LifeForceCampaign.com)
@Bilxor: Go
Don't need varibles.. Just switch places with "Campaign - Create Terran drop pod..." and "Unit - Create 1 firebat..." and add "Unit - Order (last created unit) to (Move) targeting (Point)"