Script:unsetcontrolledzone: Difference between revisions

From Arx Libertatis Wiki
Jump to navigation Jump to search
No edit summary
mNo edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Stub}}
{{ScriptCommandPage
{{ScriptCommandPage
|description=remove the controlling entity from a [[zone]]
|description=remove the controlling entity from a [[zone]]
|parameters=
|parameters=
zone string Name of the zone to relinquish control of
zone string Name of the zone to relinquish control of
|intro=After executing this command no entity will receive {{Event|controlledzone_enter}} and {{Event|controlledzone_leave}} events when any entities enter or leave that zone.
|intro=After executing this command the entity that previously took control of the zone using the {{Command|setcontrolledzone}} command will no longer receive {{Event|controlledzone_enter}} and {{Event|controlledzone_leave}} events when the player, [[:Category:Items|items]] or [[:Category:NPCs|NPCs]] enter or leave that zone.
}}
}}

Latest revision as of 01:48, 17 April 2020

The unsetcontrolledzone script command is used to remove the controlling entity from a zone. After executing this command the entity that previously took control of the zone using the setcontrolledzone command will no longer receive controlledzone_enter and controlledzone_leave events when the player, items or NPCs enter or leave that zone.

Usage

unsetcontrolledzone <zone>

Context: Ignored

Parameters:

ParameterTypeDescription
zone string Name of the zone to relinquish control of