Forcefield
┗> Event > Object > Class
Constructor
Forcefield(x: any, y: any, shape: any, properties: any)
Arguments:
x: any | |
y: any | |
shape: any | |
properties: any |
Methods
Fields
Forcefield.always_visible: boolean
[Property visible
] Whether the forcefield is visible even when the player is not nearby (Defaults to false
)
Forcefield.anim_speed: number
Speed of the forcefield animation, in seconds (Defaults to 3/30
)
Forcefield.anim_timer: number
Internal timer for the sprite animation
Forcefield.flag: string
[Property flag
] The name of the flag to check for whether this forcefield is active - if !
is at the start of the flag, the check will be inverted
Forcefield.flag_value: boolean
[Property value
] The value that flag
should be for the forcefield to be active
Forcefield.inverted: boolean
[Property inverted
] Whether the flagcheck is inverted such that if flag
is flag_value
, the forcefield is inactive, and is active otherwise
Forcefield.solid: boolean
[Property solid
] Whether the forcefield is solid (Defaults to true
)