You are here

How do I reveal unactivated map pins?

3 posts / 0 new
Last post
Foghopper
How do I reveal unactivated map pins?

I am wanting to not have all the map note pins visible straight away, so that points relevant to quests can be revealed as the PC progresses. I've been searching and so far not been able to find anything that goes over how to do this. I know it's possible, just not sure how.

I have thought that an OnEnter script for the Area that checks for Journal entry or just having it as an ActionTaken from a conversation.

I found this on Lexicon: 

 

void SetMapPinEnabled(
    object oMapPin,
    int nEnabled
);

But am unsure how to use it in a script to reveal the map note i want it to.

Help please.

  • up
    50%
  • down
    50%
Fester Pot
Fester Pot's picture

Well, each time you place down a map pin waypoint, under its Advanced Tab, simply uncheck "Map Note Enabled".

Place down all the map pin waypoints you need, and make sure that box is unchecked.

Then, as you move forward in your quest, you enable them!

object oTarget = GetWaypointByTag("TAG_OF_WAYPOINT");
SetMapPinEnabled(oTarget, TRUE);

FP!

  • up
    100%
  • down
    0%
Foghopper

That makes perfect sense, thank you very much.

Still getting my head around how to tell script wha to use as oObject etc in functions.

  • up
    50%
  • down
    50%