Jump to content
  • 0
Tio Akima

(doubt) Directions of a special effect

Question

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.

 

Share this post


Link to post
Share on other sites

2 answers to this question

Recommended Posts

  • 0

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

Share this post


Link to post
Share on other sites
  • 0
2 hours ago, malufett said:

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 ...

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.