I'm trying to add a "Purifier Invulnerability Shield" behavior to my Tal'Darim Mothership but it only has "Duration: 5". So, how do I make the duration of the behavior for as long as the unit lives, not 5 seconds?
Second problem:
Also the mothership has a blink ability and it doesn't look well when the purifier shield just disappears when Blink is used. I tried to add these events to the "Purifier Shield Actor":
Effect.SOAMothershipBlinkStrikeCP.Start
SetScale 0.100000 0.400000
Effect.SOAMothershipBlinkStrikeCP.Stop
SetScale 1.000000 0.400000
But it gets colored in red and when I test the shield model doesn't change scale when I use the blink... Any help would be appreciated.
Second problem: Also the mothership has a blink ability and it doesn't look well when the purifier shield just disappears when Blink is used. I tried to add these events to the "Purifier Shield Actor":
Effect.SOAMothershipBlinkStrikeCP.Start
SetScale 0.100000 0.400000
Effect.SOAMothershipBlinkStrikeCP.Stop
SetScale 1.000000 0.400000
But it gets colored in red and when I test the shield model doesn't change scale when I use the blink... Any help would be appreciated.
Isn't this whole section of the OP related to events? If not, excuse me I'm still a n00b working with the Data module... At least that's what these are called there.
What is this start stop effect type? If it is not persistent it stops right after it starts (duration 0), so you won't be able to see the changes. Basicaly your scale increasing and decreasing simultaneously = stays the same. Use timer 0.4 seconds and "TimerExpired" event to trigger your second message.
Also, dont use SetScale 1 to restore the original scale, use message "ClearScale" instead, just mark it with a label. In case with effect model it may not be affecting anything but if you will be using it with units it can mess things up, because your unit's current scale may differ from 1. Just a bad habit to handle things.
What is this start stop effect type? If it is not persistent it stops right after it starts (duration 0), so you won't be able to see the changes. Basicaly your scale increasing and decreasing simultaneously = stays the same. Use timer 0.4 seconds and "TimerExpired" event to trigger your second message.
Also, dont use SetScale 1 to restore the original scale, use message "ClearScale" instead, just mark it with a label. In case with effect model it may not be affecting anything but if you will be using it with units it can mess things up, because your unit's current scale may differ from 1. Just a bad habit to handle things.
I'm trying to add a "Purifier Invulnerability Shield" behavior to my Tal'Darim Mothership but it only has "Duration: 5". So, how do I make the duration of the behavior for as long as the unit lives, not 5 seconds?
Second problem: Also the mothership has a blink ability and it doesn't look well when the purifier shield just disappears when Blink is used. I tried to add these events to the "Purifier Shield Actor":
But it gets colored in red and when I test the shield model doesn't change scale when I use the blink... Any help would be appreciated.
Duration: 0
And what about the Events issue?
there is not one word mentioning events here
Isn't this whole section of the OP related to events? If not, excuse me I'm still a n00b working with the Data module... At least that's what these are called there.
@poweruserSC2: Go
Try adding a Term At Caster for each event. I'm not sure it will work, as I can not test it right now, but worth a try.
I tried that:
But it didn't work... Can you look at the ability actor events/duration and see if anything can be altered?
What is this start stop effect type? If it is not persistent it stops right after it starts (duration 0), so you won't be able to see the changes. Basicaly your scale increasing and decreasing simultaneously = stays the same. Use timer 0.4 seconds and "TimerExpired" event to trigger your second message.
Also, dont use SetScale 1 to restore the original scale, use message "ClearScale" instead, just mark it with a label. In case with effect model it may not be affecting anything but if you will be using it with units it can mess things up, because your unit's current scale may differ from 1. Just a bad habit to handle things.
OK, I'll start using ClearScale :) Btw, yes it's Create Persistent, that's why it's marked SOAMothershipBlinkStrikeCP