Jump to content
  • 0

Show NPC for certain players only


NotKappa

Question


  • Group:  Members
  • Topic Count:  15
  • Topics Per Day:  0.00
  • Content Count:  52
  • Reputation:   35
  • Joined:  06/28/13
  • Last Seen:  

For example in the illusion vampire there is a section where you follow Marina to find 2 other NPCS, the Marina is hidden for all other players but only visible to the player who has the quest.

How can this be done?

I've tried to use classchange with bc_self, but this wont work for distant NPCs from the player when I tried it.

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  15
  • Topics Per Day:  0.00
  • Content Count:  52
  • Reputation:   35
  • Joined:  06/28/13
  • Last Seen:  

I've made a workaround for this.

I used OnTouch: and classchange when the player touch the npc.
 


OnTouch:
	if(illusion_vampire_temp == 5){
		classchange 110,"Priest#illuvamp",bc_self;
	}
end;

But it would be really great if something official from rathena could be implemented so this can be done by using quest id rather than having to use workarounds.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  42
  • Topics Per Day:  0.01
  • Content Count:  1096
  • Reputation:   344
  • Joined:  02/26/12
  • Last Seen:  

  • 0

  • Group:  Developer
  • Topic Count:  50
  • Topics Per Day:  0.02
  • Content Count:  763
  • Reputation:   227
  • Joined:  02/11/17
  • Last Seen:  

I believe in the official server they have a way to disable npc for a single id atleast that's what i notice when i copied it. the only work around for this is using OnTouch.

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