wait
Description
Pauses the NPC's behaviour for a specified duration.
Basic information
| Name | Type | Possibilities | 
|---|---|---|
| wait | behaviour | 2 | 
Parameters
| # | Name | Type | Mandatory | Description | Multiple | 
|---|---|---|---|---|---|
| 1 | duration | number | Yes | The duration of the wait in milliseconds. | No | 
Outputs
| # | Description | 
|---|---|
| 1 | The NPC wait finished. | 
| 2 | The NPC is waiting. | 
Example
  NPC 
  name Guard 
  model s_m_m_security_01 
  position -1020.72 4839.78 258.30 0.0 
  interaction 
    nothing 
  behaviour 
    wait 5000