Jump to content
  • 0

Specialeffect on NPC with Sprite -1?


Yuka

Question


  • Group:  Members
  • Topic Count:  100
  • Topics Per Day:  0.03
  • Content Count:  333
  • Reputation:   7
  • Joined:  03/01/14
  • Last Seen:  

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


  • Group:  Members
  • Topic Count:  9
  • Topics Per Day:  0.00
  • Content Count:  379
  • Reputation:   304
  • Joined:  11/10/11
  • Last Seen:  

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.
  • Upvote 5
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  38
  • Topics Per Day:  0.01
  • Content Count:  949
  • Reputation:   174
  • Joined:  06/12/12
  • Last Seen:  

You can try to supply <send_target> parameter as long as a coordinate has been set.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  72
  • Topics Per Day:  0.02
  • Content Count:  2997
  • Reputation:   1130
  • Joined:  05/27/12
  • Last Seen:  

Official scripts use 111 (HIDDEN_NPC).

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  100
  • Topics Per Day:  0.03
  • Content Count:  333
  • Reputation:   7
  • Joined:  03/01/14
  • Last Seen:  

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

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  38
  • Topics Per Day:  0.01
  • Content Count:  949
  • Reputation:   174
  • Joined:  06/12/12
  • Last Seen:  

You should try it first.. xD

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  100
  • Topics Per Day:  0.03
  • Content Count:  333
  • Reputation:   7
  • Joined:  03/01/14
  • Last Seen:  

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.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  86
  • Topics Per Day:  0.02
  • Content Count:  591
  • Reputation:   146
  • Joined:  06/19/12
  • Last Seen:  

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;
}
}
  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  100
  • Topics Per Day:  0.03
  • Content Count:  333
  • Reputation:   7
  • Joined:  03/01/14
  • Last Seen:  

 

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!

  • Upvote 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...