Sathobi Posted January 23 Group: Members Topic Count: 3 Topics Per Day: 0.00 Content Count: 13 Reputation: 0 Joined: 07/09/21 Last Seen: February 25 Share Posted January 23 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 Quote Link to comment Share on other sites More sharing options...
0 Hyllok Posted January 24 Group: Members Topic Count: 3 Topics Per Day: 0.00 Content Count: 27 Reputation: 5 Joined: 08/27/16 Last Seen: 23 hours ago Share Posted January 24 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; } Quote Link to comment Share on other sites More sharing options...
0 Sathobi Posted February 5 Group: Members Topic Count: 3 Topics Per Day: 0.00 Content Count: 13 Reputation: 0 Joined: 07/09/21 Last Seen: February 25 Author Share Posted February 5 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, /// Quote Link to comment Share on other sites More sharing options...
Question
Sathobi
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
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.