INIT:
DB_WaypointInfo(ITEM_Hum_Waypointshrine_A_001,TRIGGER_BoxTrigger_001,"NAME YOUR WAYPOINT1");
DB_WaypointInfo(ITEM_Hum_Waypointshrine_A_000,TRIGGER_BoxTrigger_000,"NAME YOUR WAYPOINT2");
KB:
IF
CharacterRequestsHomestead(_Player)
AND
NOT TeleportingRegionBlock(1)
THEN
//PROC_CheckPlayTut(_Player,"TUT_HomesteadWaypointMenu");
OpenWaypointUI(_Player,"",ITEM_NULL);
IF
ItemEvent(_Item,"WaypointDiscovered")
AND
DB_WaypointInfo(_Item,_,_)
THEN
ProcDoWaypointUnlock(_Item);
IF
CharacterUsedItem(_Player,_Item)
AND
DB_WaypointInfo(_Item,_Trigger,_CurrentWP)
THEN
ProcDoWaypointUnlock(_Item);
OpenWaypointUI(_Player,_CurrentWP,_Item);
PROC
ProcDoWaypointUnlock((ITEM)_Item)
AND
DB_WaypointInfo(_Item,_Trigger,_CurrentWP)
AND
NOT _Item.isunlocked()
THEN
_Item.isunlocked();
Proc_AddExplorationEvent("GLO_Waypoint");
ShowNotification("GLO_WaypointDiscovered");
UnlockWaypoint(_CurrentWP,_Trigger);