Instead of an empty set effect, create a damage effect and have a switch effect run the damage effect if the unit has the explosive behavior using a validator.
From there, just have the explosion actor get created as a result of the damage effect. No need for an actor event with a term.
Instead of an empty set effect, create a damage effect and have a switch effect run the damage effect if the unit has the explosive behavior using a validator.
From there, just have the explosion actor get created as a result of the damage effect. No need for an actor event with a term.
Hey there
(God damnit why does the event editor have to be so unintuitive x.X)
I'm trying to implement spells in my map that explode explosive objects.
Some spells can blow stuff up, so in their Effect Set they have "ExplosiveEffect". It's just an empty effect.
Then there are some units that are explosive, like explosive barrels. They have a Behavior "ExplosiveBehavior". It's just an empty behavior.
When ExplosiveEffect meets ExplosiveBehavior I want there to be an explosion on the exploding unit, let's call it "BoomEffect".
How do I get an actor to do this?!
Here's what I tried so far:
I created an actor of the "Action" type, the other actor types don't make sense to me here
I created a validator "IsExplosive" that compares unit behaviour count for "Explosive Behaviour"
In the actor my Events look like this:
£ Effect .ExplosionEffect
|- -> At Effect
|--- Create
£ ActorCreation
|- -> ValidateUnit IsExplosive
|---- ??? (no idea what I'd put here)
How do I do this? Is it even possible? Is it possible for mortals to understand the event editor?
Instead of an empty set effect, create a damage effect and have a switch effect run the damage effect if the unit has the explosive behavior using a validator.
From there, just have the explosion actor get created as a result of the damage effect. No need for an actor event with a term.
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!
So solved?
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