Please help-Make an critical effect that occurs BEFORE the animation-

Rycoria

Creator of Riley
Veteran
Joined
Sep 25, 2013
Messages
58
Reaction score
11
First Language
English
Primarily Uses
Hey guys, I've been trying this for honestly 10+ hours with no luck. I'm trying to make an effect, such as a sound effect + visual cue (like a cut-in) or something like that (not the point) that ONLY runs when the attack is a critical hit but that the effect occurs BEFORE the animation plays and the damage is dealt.

What I'm looking for is a script that runs an effect (just a sound effect is fine as a placeholder, I'll add the cool stuff later) when a critical hit occurs, but plays before the regular attack animation.

If someone could help me with this I would be soooooooo incredibly grateful. You'd seriously get a special thanks in the credits I'm desperate.

Something that works like this is what I'm looking for (not the effect itself, the way it runs) (well I mean the effect is awesome if someone could that as well, even better) : 




Thanks so much in advance!
 

Venima

Treasure experiences and sensations, not progress.
Veteran
Joined
Oct 8, 2013
Messages
128
Reaction score
48
First Language
English
Primarily Uses
N/A
Would this be for every critical attack by every actor and enemy? Or just particular attacks?
 

Rycoria

Creator of Riley
Veteran
Joined
Sep 25, 2013
Messages
58
Reaction score
11
First Language
English
Primarily Uses
Would this be for every critical attack by every actor and enemy? Or just particular attacks?
Preferably actors only, and have an if statement to see which actor id so I can have appropriate cut-ins.

And it would apply to the "attack" skill, the regular attack function.
 
Last edited by a moderator:

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Profile Posts

so hopefully tomorrow i get to go home from the hospital i've been here for 5 days already and it's driving me mad. I miss my family like crazy but at least I get to use my own toiletries and my own clothes. My mom is coming to visit soon i can't wait to see her cause i miss her the most. :kaojoy:
Couple hours of work. Might use in my game as a secret find or something. Not sure. Fancy though no? :D
Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.
Do you Find Tilesetting or Looking for Tilesets/Plugins more fun? Personally I like making my tileset for my Game (Cretaceous Park TM) xD

Forum statistics

Threads
105,868
Messages
1,017,070
Members
137,577
Latest member
SadaSoda
Top