Jump to content
  • 0

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


Question

Posted

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

2 answers to this question

Recommended Posts

  • 0
Posted

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;
}



 

  • 0
Posted
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, ///

 

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...