I'm not sure I understand actors. I think I do, basically if event A happens have action A play and if event B happens have action B play. If deathA happens have actiondeathA play.
That's what I thought it was. But then there are abilities. I'm using Diablo as my base unit, he doesn't have the junk that most units do, and that means I either have to give the units a lot of actors, no big deal I thought. So I create the ability and it's just a simple missile ability. So I'm done, fires along ground(that's not supposed to happen). I go look up OneTwo's tut on frostbolt because I remember him dealing with that issue. I do as he says and duplicate an action actor. Doesn't fix my problem and then I notice Kerrigan isn't putting her hands up for the ability. So I go in and try to get it so when she uses that ability she puts her hands up firing the spell. Doesn't work. Are there any tutorials to help with actors in general? Like give a basic examples how to use the most common things actors are used for?
I saw someone asking in one of those ask I will make threads to make some abilities that are consider basic so they can learn from it and see how to make other abilities of the same type, it was a simple missile, a heal and debuff, ect. Is there anything that can teach me how to use actors correctly?
If you added a time to the Stats - Cast Start Time field in the ability, you will likely need the next Event to stop the casting animation in case that you move the unit, or use another ability...
Ability.x.SourceCastStop
Animation Clear {Spell}
The above actor event, will play the Animation 'Spell' for a unit when it starts casting a spell. {Spell} is the name, and Spell is the selection in the Animation Properties dropdown. The brackets { and } are not seen in the Events.
This event goes in your unit's Events+. Plays an animation when using a launch effect, example for a spell. This does work for regular attacks, but there are cleaner ways of achieving attack animations on attack.
Effect.MissileLaunch.Start
AnimationPlay {Attack} Attack
this will play the animation Attack on Missile Launch.
This next one is for a buff visual, this has it's own actor and this is usually all that's needed in that actor's Events + field
Behavior.X.On
Create
ActorCreation
AnimationPlay {Attach} Stand PlayForever
Behavior.X.Off
Destroy
PlayForever is a Flag. It plays the Animation you specify, and then will play the end of the animation indefinitely. This is not a TRUE loop of the animation.
It works mysteriously, however... It does not reset to timer 0 after reaching the end of the animation. See Kerrigan's Stand Cover Start animation for example. Instead of playing the whole intro part of that animation(getting airborn and stretching her "wings") it would just continue the animation on from 11.33 second mark, she remains frozen mid air.
However,if you specify a Zealot to do Dance Varriation 02, play forever, he continues dancing, resetting the timer on the animation. Trial and Error in most cases
General Events+ actor tutorials are... none existant, basically. Going to start making entries in the Actor Events+ section of the Wiki soon... it's desperately needed!
Also, if you need any more specific help, please feel free to message me.
I'm not sure I understand actors. I think I do, basically if event A happens have action A play and if event B happens have action B play. If deathA happens have actiondeathA play.
That's what I thought it was. But then there are abilities. I'm using Diablo as my base unit, he doesn't have the junk that most units do, and that means I either have to give the units a lot of actors, no big deal I thought. So I create the ability and it's just a simple missile ability. So I'm done, fires along ground(that's not supposed to happen). I go look up OneTwo's tut on frostbolt because I remember him dealing with that issue. I do as he says and duplicate an action actor. Doesn't fix my problem and then I notice Kerrigan isn't putting her hands up for the ability. So I go in and try to get it so when she uses that ability she puts her hands up firing the spell. Doesn't work. Are there any tutorials to help with actors in general? Like give a basic examples how to use the most common things actors are used for?
I saw someone asking in one of those ask I will make threads to make some abilities that are consider basic so they can learn from it and see how to make other abilities of the same type, it was a simple missile, a heal and debuff, ect. Is there anything that can teach me how to use actors correctly?
@Keyeszx: Go
Animation Playing
If you added a time to the Stats - Cast Start Time field in the ability, you will likely need the next Event to stop the casting animation in case that you move the unit, or use another ability...
The above actor event, will play the Animation 'Spell' for a unit when it starts casting a spell. {Spell} is the name, and Spell is the selection in the Animation Properties dropdown. The brackets { and } are not seen in the Events.
This event goes in your unit's Events+. Plays an animation when using a launch effect, example for a spell. This does work for regular attacks, but there are cleaner ways of achieving attack animations on attack.
this will play the animation Attack on Missile Launch.
This next one is for a buff visual, this has it's own actor and this is usually all that's needed in that actor's Events + field
PlayForever is a Flag. It plays the Animation you specify, and then will play the end of the animation indefinitely. This is not a TRUE loop of the animation.
It works mysteriously, however... It does not reset to timer 0 after reaching the end of the animation. See Kerrigan's Stand Cover Start animation for example. Instead of playing the whole intro part of that animation(getting airborn and stretching her "wings") it would just continue the animation on from 11.33 second mark, she remains frozen mid air.
However,if you specify a Zealot to do Dance Varriation 02, play forever, he continues dancing, resetting the timer on the animation. Trial and Error in most cases
Multi-Phase Spell Tutorial.
http://forums.sc2mapster.com/resources/tutorials/8990-data-multi-phase-spells-advanced-difficulty/
This explains SourceCastStart/SourceChannelStart/SourceFinishStart etc.etc.
General Events+ actor tutorials are... none existant, basically. Going to start making entries in the Actor Events+ section of the Wiki soon... it's desperately needed!
Also, if you need any more specific help, please feel free to message me.