arx-level-generator
Version:
A tool for creating Arx Fatalis maps
14 lines • 482 B
JavaScript
import { ScriptProperty } from '../ScriptProperty.js';
/**
* A ScriptProperty for linking an Entity to a Zone.
* A linked Zone will trigger `controlledzone_enter` and `controlledzone_leave` events on the Entity.
*
* @extends ScriptProperty
* @see https://wiki.arx-libertatis.org/Script:setcontrolledzone
*/
export class ControlZone extends ScriptProperty {
toString() {
return `setcontrolledzone ${this.value.name}`;
}
}
//# sourceMappingURL=ControlZone.js.map