Script:unsetcontrolledzone: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
mNo edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
{{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 | |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:
Parameter | Type | Description |
---|---|---|
zone |
string |
Name of the zone to relinquish control of |