← Previous | Next →
forceInteraction
Description
Forces an interaction between the NPC and a nearby player. If blockForceInteraction has been used on a player, the NPC won't interact with that player until unblockForceInteraction is used.
| Name |
Type |
Possibilities |
| forceInteraction |
behaviour |
2 |
Parameters
| # |
Name |
Type |
Mandatory |
Description |
Multiple |
|
|
|
|
|
|
Outputs
| # |
Description |
| 1 |
The interaction was not successful. |
| 2 |
The interaction was successful. |
Example
NPC
name AggressiveNPC
model s_m_y_dealer_01
position -1020.72 4839.78 258.30 0.0
interaction
tell "Hey, you!"
behaviour
forceInteraction