Jump to content
  • 0

How to add or use ACTOR_STATE Animations on Player Sprite NPC's?


Sathobi

Question


  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  13
  • Reputation:   0
  • Joined:  07/09/21
  • Last Seen:  

How do I add actor state as script for Player Sprite NPC's? for example, "specialeffect EF_CASTSPIN2;" the NPC has animation when using this special effect script. I want something like this

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  27
  • Reputation:   5
  • Joined:  08/27/16
  • Last Seen:  

I'm not sure if I understood your request, but maybe this helps you out.
 

prontera,150,150,4	script	Test	491,{
mes "[NPC]";
mes "Watch me spiiiiiiiiiin~!";
specialeffect EF_CASTSPIN2;
close;
}



 

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  13
  • Reputation:   0
  • Joined:  07/09/21
  • Last Seen:  

On 1/25/2025 at 3:16 AM, Hyllok said:

I'm not sure if I understood your request, but maybe this helps you out.
 

prontera,150,150,4	script	Test	491,{
mes "[NPC]";
mes "Watch me spiiiiiiiiiin~!";
specialeffect EF_CASTSPIN2;
close;
}



 

Sorry. I meant adding something like this, I want to add other parameters for setunitdata something like this where npc can do these actions like player where they can sit or something else

    setunitdata(getnpcid(0), UNPC_STATE, 0); /// ST_STAND = 0, ST_MOVE = 1, ST_ATTACK = 2, ///

 

Link to comment
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.   Paste as plain text instead

  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.

×
×
  • Create New...