Craig Martin

(Official) LUA Scripting Documentation

set_npc_state_region

Set the state of all NPCs in a cubic region.


Spec:

set_npc_state_region(
	string state,
	long x1,
	long y1,
	long z1,
	long x2,
	long y2,
	long z2,
	string npc_type)

Parameters


Valid values for state: “alive”, “dying”, “death”, “respawning”, “respawn”, “despawning”, “despawn”, “sleeping”, “sleep”, “custom”, “inactive”, “delete”


Incomplete

This documentation is incomplete


back