Script:setcontrolledzone: Difference between revisions

From Arx Libertatis Wiki
Jump to navigation Jump to search
No edit summary
mNo edit summary
Line 2: Line 2:
{{ScriptCommandPage
{{ScriptCommandPage
|description=sets the controlling entity of a [[zone]]
|description=sets the controlling entity of a [[zone]]
|context=any
|parameters=
|parameters=
zone string Name of the zone to take control of
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.
|intro=The entity executing this command will receive {{Event|controlledzone_enter}} and {{Event|controlledzone_leave}} events when any entities enter or leave that zone.
}}
}}

Revision as of 16: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 for an entity. 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: Any Entity

Parameters:

ParameterTypeDescription
zone string Name of the zone to take control of