setcontrolledzone

From Arx Libertatis Wiki
Revision as of 01:46, 17 April 2020 by Ds (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

The setcontrolledzone script command is used to set the controlling entity of a zone for an entity. The entity executing this command will receive controlledzone_enter and controlledzone_leave events when the player, items or NPCs enter or leave that zone. Control of a zone can be relinquished using the unsetcontrolledzone command.

Usage

setcontrolledzone <zone>

Context: Any Entity

Parameters:

ParameterTypeDescription
zone string Name of the zone to take control of