I want to create the same effect that Zeratul has in that Protoss Campaign Mission where when he's highlighted, enemy detectors have their detection range shown. The goal is to have multiple players potentially use this ability, so it can't be shown for everyone, and it should also be shown only when the unit with the ability (in this case a ghost) is selected.
I copied the behaviors, effects, and corresponding actors from Zeratul's behavior but for some reason it will ONLY work if Zeratul has the behavior (in which case it works just fine). Even if I attach his un-tampered-with campaign behavior to another unit, it will not work. It only works for him.
Any ideas why this is?
Thanks,
Rutegar
-Edit-
Turns out once I deleted Zeratul it works just fine for the ghost. I guess you can't have more than one unit with this behavior at a time. Any idea why?
Probably to do with the RefSetFromRequest event. As for getting the range to only appear for the owning player, just add a validator to the actor fo it's creation that the caster unit of the detected buff has to be player. Or under the Actor: Filter field set it tht only the player can see it.
Rollback Post to RevisionRollBack
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
I want to create the same effect that Zeratul has in that Protoss Campaign Mission where when he's highlighted, enemy detectors have their detection range shown. The goal is to have multiple players potentially use this ability, so it can't be shown for everyone, and it should also be shown only when the unit with the ability (in this case a ghost) is selected.
I copied the behaviors, effects, and corresponding actors from Zeratul's behavior but for some reason it will ONLY work if Zeratul has the behavior (in which case it works just fine). Even if I attach his un-tampered-with campaign behavior to another unit, it will not work. It only works for him.
Any ideas why this is?
Thanks, Rutegar
-Edit- Turns out once I deleted Zeratul it works just fine for the ghost. I guess you can't have more than one unit with this behavior at a time. Any idea why?
Probably to do with the RefSetFromRequest event. As for getting the range to only appear for the owning player, just add a validator to the actor fo it's creation that the caster unit of the detected buff has to be player. Or under the Actor: Filter field set it tht only the player can see it.
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