Craig Martin

(Official) LUA Scripting Documentation

Pages

Functions to manipulate npcs

add_npc_health_region*

Add or subtract to/from the health of all NPCs in a cubic region.

add_npc_health_target*

Add or subtract to/from the target NPCs health.

add_npc_health_zone*

Add or subtract to/from the health of all NPCs in a zone.

set_behaviour*

Set a behaviour tree for the context actor.

set_dialog*

Set a dialog tree for the context actor.

set_npc_state_region*

Set the state of all NPCs in a cubic region.

set_npc_state_target*

Set the state of the target NPC.

set_npc_state_zone*

Set the state of all NPCs in a zone.

spawn_npc*

Spawn an NPC (Non Player Character).