Script:unsetcontrolledzone: Difference between revisions

From Arx Libertatis Wiki
Jump to navigation Jump to search
(Created page with "{{Stub}} This page describes the <code>unsetcontrolledzone</code> script command. Usage: unsetcontrolledzone <zone> Parameters: {| class="wikitable sortable" ! Parameter...")
 
No edit summary
Line 1: Line 1:
{{Stub}}
{{Stub}}
 
{{ScriptCommandPage
This page describes the <code>unsetcontrolledzone</code> script command.
|description=remove the controlling entity from a [[zone]]
 
|parameters=
Usage:
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.
unsetcontrolledzone <zone>
}}
 
Parameters:
{| class="wikitable sortable"
! Parameter
! Type
! Description
|-
| <code><zone></code>
| {{text}}
| Name of the zone for which to unset the controlling entity
|}
 
The controlling entity for a zone will receive script events when any entities enter or leave that zone.
 
[[Category:Script commands]]

Revision as of 06:49, 15 April 2020

This article is a stub - you can help by expanding it. See the Wiki FAQ.

The unsetcontrolledzone script command is used to remove the controlling entity from a zone. After executing this command no entity will receive controlledzone_enter and controlledzone_leave events when any entities enter or leave that zone.

Usage

unsetcontrolledzone <zone>

Context: Ignored

Parameters:

ParameterTypeDescription
zone string Name of the zone to relinquish control of