Jump to content
  • 0

Hidden NPC with working questinfo


NotKappa

Question


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

I'm trying to make a hidden NPC that can have a questinfo - quest icon showing showing on top of the npc/map mark.

I tried using HIDDEN_WARP_NPC, but the quest mark won't show even when I don't have quest.

Link to comment
Share on other sites

5 answers to this question

Recommended Posts

  • 0

  • Group:  Content Moderator
  • Topic Count:  55
  • Topics Per Day:  0.02
  • Content Count:  1676
  • Reputation:   702
  • Joined:  12/21/14
  • Last Seen:  

1 hour ago, NotKappa said:

I'm trying to make a hidden NPC that can have a questinfo - quest icon showing showing on top of the npc/map mark.

I tried using HIDDEN_WARP_NPC, but the quest mark won't show even when I don't have quest.

you are missing an if statment

include the script so people can help

Link to comment
Share on other sites

  • 0

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

Here is the script I'm testing 

gef_d01_i,81,135,5	script	Wizard#illuvamp	HIDDEN_WARP_NPC,{
  end;
  OnInit:
  questinfo 14664,QTYPE_QUEST;
  end;
}

The script is loaded, but the quest icon will not show on the map and not even the NPC and I didn't take the quest yet.

The icon will only show if I used a visible NPC sprite but not with HIDDEN_WARP_NPC.

Link to comment
Share on other sites

  • 0

  • Group:  Content Moderator
  • Topic Count:  55
  • Topics Per Day:  0.02
  • Content Count:  1676
  • Reputation:   702
  • Joined:  12/21/14
  • Last Seen:  

oh sorry , i mess understood the topic

i don't know if it should show the event if the npc is hidden

Link to comment
Share on other sites

  • 0

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

It should work even if it's hidden make sure you add a color marker so it will display on the map. Also add an OnTouch event to change its class id ^^
 

Link to comment
Share on other sites

  • 0

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

So, I checked again and I forget to set a mark color for the map and when the NPC does a classchange the icon on top of the NPC will not show.

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