I got myself a bit stuck here so turned to you guys for guidance.
So the thing is to create an ability that will last X amount of time increasing firebats range, damage and add a model every time he attacks.
Think I got everything sorted except model part, I don't jet understand actors that well so any help will be appreciated.
I was trying to find preexisted similar Ability but cant find it anywhere as well as this forum for similar explanation ...
At a moment when I activate ability I get the range and damage increased for 40 sec and ability works just fine. Now I need to attach additional flame type model with already existing firebats attack to make it more... well esthetic.
Not sure how I link Active ability to attacking one with new model? Little bit over my head this one.
Create a validator that checks for the behavior using a Unit Compare Behavior Count validator.
Create an actor model of type ModelAnimationStyleOneShot. Set the model to whatever flame model you want. Add SOpAttachWeaponLeft to the Hosting: Host Site Operations + field of the actor. Set the Subject under the Hosting: Host field to _Unit.
Under the (Basic) Event: Events + field add an event. Set the event to WeaponStart.[YourWeaponHere].AttackStart and the action to Create. Add a ValidateUnit term to the action you just created and set it to the validator you previously made.
Repeat the above for another actor model but instead of SOpAttachWeaponLeft use SOpAttachWeaponRight.
Hi guys,
I got myself a bit stuck here so turned to you guys for guidance.
So the thing is to create an ability that will last X amount of time increasing firebats range, damage and add a model every time he attacks.
Think I got everything sorted except model part, I don't jet understand actors that well so any help will be appreciated.
I was trying to find preexisted similar Ability but cant find it anywhere as well as this forum for similar explanation ...
At a moment when I activate ability I get the range and damage increased for 40 sec and ability works just fine. Now I need to attach additional flame type model with already existing firebats attack to make it more... well esthetic.
Not sure how I link Active ability to attacking one with new model? Little bit over my head this one.
Thanks
Tom
Create a validator that checks for the behavior using a Unit Compare Behavior Count validator.
Create an actor model of type ModelAnimationStyleOneShot. Set the model to whatever flame model you want. Add SOpAttachWeaponLeft to the Hosting: Host Site Operations + field of the actor. Set the Subject under the Hosting: Host field to _Unit.
Under the (Basic) Event: Events + field add an event. Set the event to WeaponStart.[YourWeaponHere].AttackStart and the action to Create. Add a ValidateUnit term to the action you just created and set it to the validator you previously made.
Repeat the above for another actor model but instead of SOpAttachWeaponLeft use SOpAttachWeaponRight.
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!
Thanks a lot aZergBaneling it worked like a charm.