(doubt) Directions of a special effect

Tio Akima

New member
Messages
349
Points
0
Age
36
Discord
TioAkima#0636
Github
Tio Akima
Emulator
Hi all,

I have a question related to the special effect.

clif->specialeffect()

I'm putting a special effect on a custom skill
But when casting the effect, it ignores the character's direction.

I need the effect to take into account the axis of the character.

As the effect is a sprite and an act (with all directions) I thought he would do it automatically.

But only one direction of the effect appears, regardless of the axis of the character.

Maybe the new specialeffect () to do this, then, if anyone knows and can help me.

By the way, how to set the new specialeffect ()
I saw the topic of Meko, but I wanted some practical examples to understand better.

 
clif->specialeffect() only does is to show and display animation with out attachment with the characters action, direction or target but only the x,y where the character is standing...
if you want to have interactive skill effect use the ff:


clif_skill_damage
clif_skill_nodamage
clif_skill_poseffect


however this is only limited with the existing skills animation

 
clif->specialeffect() only does is to show and display animation with out attachment with the characters action, direction or target but only the x,y where the character is standing...
if you want to have interactive skill effect use the ff:


clif_skill_damage
clif_skill_nodamage
clif_skill_poseffect


however this is only limited with the existing skills animation
So you can not use these 3 functions in a custom skill.

I just need to display a sprite (which would be the effect of the skill) taking into consideration the direction of the summoner.
So .. I'm thinking of some alternatives.
Maybe I can do this with npcs (effect on sprite as an npc)

or...

There are those effects of weapons that appear (sword, shield, bow, etc.) when you give a basic attack .. maybe I can use it.
Using a command to invoke this effect ... but I do not know how ...

 
Back
Top