(Official) LUA Scripting Documentation
add_npc_health_region
Add or subtract to/from the health of all NPCs in a cubic region.
Spec:
add_npc_health_region(
long points,
long x1,
long y1,
long z1,
long x2,
long y2,
long z2,
string npc_type,
long millisecs,
long duration)
Parameters
points
: How many hitpoints to add. Use a negative number to subtract from (damage) the NPCs healthx1
: The x component of the regions min map pointy1
: The y component of the regions min map pointz1
: The z component of the regions min map pointx2
: The x component of the regions max map pointy2
: The y component of the regions max map pointz2
: The z component of the regions max map pointnpc_type
: Only apply to these types of NPCs. Omit to apply to all types of NPCsmillisecs
: How often to apply the effect in milliseconds.duration
: How long to apply the effect for in milliseconds.
Incomplete
This documentation is incomplete