Script:setcontrolledzone: Difference between revisions

From Arx Libertatis Wiki
Jump to navigation Jump to search
(Created page with "{{Stub}} This page describes the <code>setcontrolledzone</code> script command. Usage: setcontrolledzone <zone> Parameters: {| class="wikitable sortable" ! Parameter ! Ty...")
 
No edit summary
Line 1: Line 1:
{{Stub}}
{{Stub}}
 
{{ScriptCommandPage
This page describes the <code>setcontrolledzone</code> script command.
|description=sets the controlling entity of a [[zone]]
 
|parameters=
Usage:
zone string Name of the zone to take control of
 
|intro=The entity executing this command will receive {{Event|controlledzone_enter}} and {{Event|controlledzone_leave}} events when any entities enter or leave that zone.
setcontrolledzone <zone>
}}
 
Parameters:
{| class="wikitable sortable"
! Parameter
! Type
! Description
|-
| <code><zone></code>
| {{text}}
| Name of the zone for which to set the controller to the current 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 setcontrolledzone script command is used to sets the controlling entity of a zone. The entity executing this command will receive controlledzone_enter and controlledzone_leave events when any entities enter or leave that zone.

Usage

setcontrolledzone <zone>

Context: Ignored

Parameters:

ParameterTypeDescription
zone string Name of the zone to take control of