Difference between revisions of "Osiris/API/LockWaypoint"

From Divinity Engine Wiki
Jump to: navigation, search
(Documented LockWaypoint)
 
m
 
Line 12: Line 12:
 
* Helper [[Osiris/Shared/DB_WaypointInfo|DB_WaypointInfo]]
 
* Helper [[Osiris/Shared/DB_WaypointInfo|DB_WaypointInfo]]
  
[[Category:Osiris Calls]]
+
[[Category:Osiris Calls|LockWaypoint]]

Latest revision as of 17:23, 19 December 2017

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