Jump to content
  • 0

Making An Invisible Npc.


Question

Posted

Hello guys. I have that problem: I want to make a NPC visible for just one player and invisible for the others but I have not any clue in doing this.

 

I'm working on Interlude. Thanks in advice.

1 answer to this question

Recommended Posts

  • 0
Posted

You have to play with players knownlists. You can inspire yourself from instance system from higher chronicles. Except, instead of an instanceid, it must be linked to a objectid (or a list of objectid).

 

Basically said, a knownlist is a list of known targets. Targets are added by distance check. Higher chronicles added a instanceid check. You will have to add an objectid check, and see if the owner of that knownlist can see the target (have to edit the "add" method).

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

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