emitter

Vars | |
active | Is the machine active? |
---|---|
allow_switch_interact | Used to stop interactions with the object (mainly in the wabbajack statue) |
charge | Amount of power inside |
fire_delay | Seconds before the next shot |
gun | Stores the type of gun we are using inside the emitter |
gun_properties | List of all the properties of the inserted gun |
icon_state_on | The icon state used by the emitter when it's on. |
icon_state_underpowered | The icon state used by the emitter when it's on and low on power. |
last_projectile_params | stores the direction and orientation of the last projectile |
last_shot | When was the last shot |
locked | Is the emitter id locked? |
manual | manual shooting? (basically you hop onto the emitter and choose the shooting direction, is very janky since you can only shoot at the 8 directions and i don't think is ever used since you can't build those) |
maximum_fire_delay | Max delay before firing |
minimum_fire_delay | Min delay before firing |
powered | Does the machine have power? |
projectile_sound | What's the projectile sound? |
projectile_type | What projectile type are we shooting? |
shot_number | Number of shots made (gets reset every few shots) |
sparks | Sparks emitted with every shot |
welded | if it's welded down to the ground or not. the emitter will not fire while unwelded. if set to true, the emitter will start anchored as well. |
Procs | |
togglelock | Attempt to toggle the controls lock of the emitter |
Var Details
active

Is the machine active?
allow_switch_interact

Used to stop interactions with the object (mainly in the wabbajack statue)
charge

Amount of power inside
fire_delay

Seconds before the next shot
gun

Stores the type of gun we are using inside the emitter
gun_properties

List of all the properties of the inserted gun
icon_state_on

The icon state used by the emitter when it's on.
icon_state_underpowered

The icon state used by the emitter when it's on and low on power.
last_projectile_params

stores the direction and orientation of the last projectile
last_shot

When was the last shot
locked

Is the emitter id locked?
manual

manual shooting? (basically you hop onto the emitter and choose the shooting direction, is very janky since you can only shoot at the 8 directions and i don't think is ever used since you can't build those)
maximum_fire_delay

Max delay before firing
minimum_fire_delay

Min delay before firing
powered

Does the machine have power?
projectile_sound

What's the projectile sound?
projectile_type

What projectile type are we shooting?
shot_number

Number of shots made (gets reset every few shots)
sparks

Sparks emitted with every shot
welded

if it's welded down to the ground or not. the emitter will not fire while unwelded. if set to true, the emitter will start anchored as well.
Proc Details
togglelock
Attempt to toggle the controls lock of the emitter