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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock