I am trying to make it so that the player can select a location for a new unit they are training to drop in, and then they will come to that location in drop pod like mercs do in WOL from Merc compounds. This is something that I'd like to do for both Zerg and Terran, but I am unsure how at the time. If anyone would be able to help me figure this out, that would be great. Would save a lot of time.
Under the train ability you need to set the Ability: Info - Location field to Rally so units spawn at the rally point. Then add to the Ability: Info - Effect field one of the Drop Train (Set) effects since those are already linked to all the necessary actors. The effect tree is usually a Set effect that applies the precursor buff and uses a Create Persistent effect that acts as a delay for the actors which are created when the persistent starts. When the persistent expires another Set effect is used to remove the precursor and use a Modify Unit effect to get the unit to move to the rally point.
Under the train ability you need to set the Ability: Info - Location field to Rally so units spawn at the rally point. Then add to the Ability: Info - Effect field one of the Drop Train (Set) effects since those are already linked to all the necessary actors. The effect tree is usually a Set effect that applies the precursor buff and uses a Create Persistent effect that acts as a delay for the actors which are created when the persistent starts. When the persistent expires another Set effect is used to remove the precursor and use a Modify Unit effect to get the unit to move to the rally point.
Ah. Thank you very much DrSuperEvil. That worked perfectly.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
I am trying to make it so that the player can select a location for a new unit they are training to drop in, and then they will come to that location in drop pod like mercs do in WOL from Merc compounds. This is something that I'd like to do for both Zerg and Terran, but I am unsure how at the time. If anyone would be able to help me figure this out, that would be great. Would save a lot of time.
Under the train ability you need to set the Ability: Info - Location field to Rally so units spawn at the rally point. Then add to the Ability: Info - Effect field one of the Drop Train (Set) effects since those are already linked to all the necessary actors. The effect tree is usually a Set effect that applies the precursor buff and uses a Create Persistent effect that acts as a delay for the actors which are created when the persistent starts. When the persistent expires another Set effect is used to remove the precursor and use a Modify Unit effect to get the unit to move to the rally point.
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
https://www.sc2mapster.com/forums/resources/tutorials/179654-data-actor-events-message-texture-select-by-id
https://media.forgecdn.net/attachments/187/40/Screenshot2011-04-17_09_16_21.jpg