Osiris/API/LockWaypoint
From Divinity Engine Wiki
Full Definition(s)
- call LockWaypoint((STRING)_WaypointName, (TRIGGERGUID)_Trigger, (CHARACTERGUID)_Character)
Description
Locks the waypoint that was previously unlocked using _WaypointName for _Character, so that it no longer appears in their waypoint list.
Notes
- If no waypoint has been registered or unlocked for _Character with the name _WaypointName yet, this call will not do anything.
- Locking a waypoint for a character only locks it for that specific character. This means you have to lock it for each player individually.
- You can use the shared mod helper DB_WaypointInfo to register waypoints and to support easily locking/unlocking them per party.