Yuka Posted March 24, 2014 Group: Members Topic Count: 100 Topics Per Day: 0.02 Content Count: 333 Reputation: 7 Joined: 03/01/14 Last Seen: May 6, 2020 Share Posted March 24, 2014 Hi, I want an invisible unclickable NPC that casts specialeffects. But when I use -1 as SpriteID, the NPC won't show the specialeffects.. Is there a way to do this? Quote Link to comment Share on other sites More sharing options...
KeyWorld Posted March 24, 2014 Group: Members Topic Count: 9 Topics Per Day: 0.00 Content Count: 379 Reputation: 304 Joined: 11/10/11 Last Seen: December 2, 2014 Share Posted March 24, 2014 So if you want: A not clickable npc, with position/info never send to the client/bot (so npctalk, effects, ... will fail), use -1. A not clickable npc, with position/info send to client (npctalk, etc. will work), use 139. A clickable npc, use 111. 5 Quote Link to comment Share on other sites More sharing options...
sandbox Posted March 24, 2014 Group: Members Topic Count: 38 Topics Per Day: 0.01 Content Count: 949 Reputation: 174 Joined: 06/12/12 Last Seen: Friday at 12:25 PM Share Posted March 24, 2014 You can try to supply <send_target> parameter as long as a coordinate has been set. Quote Link to comment Share on other sites More sharing options...
Euphy Posted March 24, 2014 Group: Members Topic Count: 72 Topics Per Day: 0.02 Content Count: 2997 Reputation: 1132 Joined: 05/27/12 Last Seen: June 1, 2017 Share Posted March 24, 2014 Official scripts use 111 (HIDDEN_NPC). Quote Link to comment Share on other sites More sharing options...
Yuka Posted March 24, 2014 Group: Members Topic Count: 100 Topics Per Day: 0.02 Content Count: 333 Reputation: 7 Joined: 03/01/14 Last Seen: May 6, 2020 Author Share Posted March 24, 2014 You can try to supply <send_target> parameter as long as a coordinate has been set. Like this? Doesn't work. D: specialeffect 237,AREA; Official scripts use 111 (HIDDEN_NPC). Hm, but this makes the NPC clickable and that kind of disturbs attacking players that are really close to the npc. x_X Quote Link to comment Share on other sites More sharing options...
sandbox Posted March 24, 2014 Group: Members Topic Count: 38 Topics Per Day: 0.01 Content Count: 949 Reputation: 174 Joined: 06/12/12 Last Seen: Friday at 12:25 PM Share Posted March 24, 2014 You should try it first.. xD Quote Link to comment Share on other sites More sharing options...
Yuka Posted March 24, 2014 Group: Members Topic Count: 100 Topics Per Day: 0.02 Content Count: 333 Reputation: 7 Joined: 03/01/14 Last Seen: May 6, 2020 Author Share Posted March 24, 2014 You should try it first.. xD What do you mean? I tried the script I've posted above. It works for ID 111, but not for -1. Quote Link to comment Share on other sites More sharing options...
EL Dragon Posted March 24, 2014 Group: Members Topic Count: 86 Topics Per Day: 0.02 Content Count: 591 Reputation: 146 Joined: 06/19/12 Last Seen: December 10, 2016 Share Posted March 24, 2014 sncf,18,154,4 script #1 111,{ end; OnInit: while(1) { specialeffect ID; sleep TIME; } } or for effect change sncf,18,154,4 script #2 111,{ end; OnInit: while(1) { specialeffect ID; sleep TIME; specialeffect ID2; sleep TIME; } } 1 Quote Link to comment Share on other sites More sharing options...
Yuka Posted March 24, 2014 Group: Members Topic Count: 100 Topics Per Day: 0.02 Content Count: 333 Reputation: 7 Joined: 03/01/14 Last Seen: May 6, 2020 Author Share Posted March 24, 2014 So if you want: A not clickable npc, with position/info never send to the client/bot (so npctalk, effects, ... will fail), use -1. A not clickable npc, with position/info send to client (npctalk, etc. will work), use 139. A clickable npc, use 111. Awesome, 139 is exactly what I'm looking for, thanks! 2 Quote Link to comment Share on other sites More sharing options...
Question
Yuka
Hi,
I want an invisible unclickable NPC that casts specialeffects.
But when I use -1 as SpriteID, the NPC won't show the specialeffects..
Is there a way to do this?
Link to comment
Share on other sites
8 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.