← Previous | Next →
giveUbication
Description
Sets a new waypoint on the map at the specified coordinates.
Name | Type | Possibilities |
giveUbication | interaction | 1 |
Parameters
# | Name | Type | Mandatory | Description | Multiple |
1 | x | number | Yes | The X coordinate where the waypoint will be set. | No |
2 | y | number | Yes | The Y coordinate where the waypoint will be set. | No |
Outputs
# | Description |
1 | A new waypoint was set at the specified coordinates. |
Example
NPC
name Guide
model s_m_m_tourist_01
position -1020.72 4839.78 258.30 0.0
interaction
giveUbication 250.0 350.0
behaviour
nothing