Yuka Posted March 24, 2014 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
KeyWorld Posted March 24, 2014 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
sandbox Posted March 24, 2014 Posted March 24, 2014 You can try to supply <send_target> parameter as long as a coordinate has been set. Quote
Yuka Posted March 24, 2014 Author 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
Yuka Posted March 24, 2014 Author 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
EL Dragon Posted March 24, 2014 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
Yuka Posted March 24, 2014 Author 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
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?
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.