I've made a unit that is cloaked when not moving and not attacking, and is uncloaked when moving or attacking. The unit has the snipe ability from the ghost.
However, when my new unit use the snipe ability, he stay cloaked between the time he is charging the ability, and I want him to be uncloaked when he use the ability. It seem like the data editor do not recognize the snipe ability in use as an attacking stance.
Anyways, I want to know if you guys have any idea where I could specify this property in the data editor or via trigger.
Thank you for the answer. Doing what I want via Trigger is working! But I want to know how you can specify the trigger for all the unit instead of with unit value ?
For example, I can do the trigger you've said if I've already put let's say a marine on the map, but I want the trigger to happen on every marine ?
A data solution is much cleaner. All you have to do is create a buff behavior and check the "suppress cloak" box under the modifications field of the ability, setting the duration to snipe's prep time. Then add that as the precast behavior for the ability as described by DrSuperEvil , or have it applied via an effect.
Hi there,
I've made a unit that is cloaked when not moving and not attacking, and is uncloaked when moving or attacking.
The unit has the snipe ability from the ghost.
However, when my new unit use the snipe ability, he stay cloaked between the time he is charging the ability, and I want him to be uncloaked when he use the ability. It seem like the data editor do not recognize the snipe ability in use as an attacking stance.
Anyways, I want to know if you guys have any idea where I could specify this property in the data editor or via trigger.
Thank you!
Use the precast behavior field of the ability to apply a Buff behaviour that disables your cloaking behaviour.
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
If you use it only for a unique hero you could try triggers to do something like this.
Goodluck.
My projects : The Hammer of Dawn, Noir : Automata, Noir : Evolution, Noir : Ascension, Hammer of Dawn Revamp
Many awesome projects : Custom Campaign Initiative
Something for the community : A Small Letter of Thanks, SC2mapster Classic Skin - Alevice
Thank you for the answer. Doing what I want via Trigger is working! But I want to know how you can specify the trigger for all the unit instead of with unit value ?
For example, I can do the trigger you've said if I've already put let's say a marine on the map, but I want the trigger to happen on every marine ?
Thank you!
A data solution is much cleaner. All you have to do is create a buff behavior and check the "suppress cloak" box under the modifications field of the ability, setting the duration to snipe's prep time. Then add that as the precast behavior for the ability as described by DrSuperEvil , or have it applied via an effect.
Custom Campaign Initiative | Mapster Community Project: Data Wizards
Starcraft II: Unsung Rebels, a custom campaign for Starcraft II
SC2Saver, a way to create saved games via trigger
Frustrated with the editor and would like answers in real time? Join the SC2Mapster Discord!