shuttle_event
An event that can run during shuttle flight, and will run for the duration of it (configurable)
Vars | |
activate_at | when do we activate? |
---|---|
activation_fraction | fraction of the escape timer at which we activate, 0 means we start running immediately (so if activation timer is 0.2 and shuttle takes 3 minutes to get going, it will activate in 36 seconds) We only care about the timer from the moment of launch, any speed changed afterwards are not worth dealing with |
active | Track if we're allowed to run, gets turned to TRUE when the activation timer hits |
event_probability | probability of this event to run from 0 to 100 |
name | How we're announced to ghosts and stuff |
port | Our reference to the docking port and thus the shuttle |
Procs | |
activate | We got activated |
event_process | Process with the SShutle subsystem. Return SHUTTLE_EVENT_CLEAR to self-destruct |
Var Details
activate_at
when do we activate?
activation_fraction
fraction of the escape timer at which we activate, 0 means we start running immediately (so if activation timer is 0.2 and shuttle takes 3 minutes to get going, it will activate in 36 seconds) We only care about the timer from the moment of launch, any speed changed afterwards are not worth dealing with
active
Track if we're allowed to run, gets turned to TRUE when the activation timer hits
event_probability
probability of this event to run from 0 to 100
name
How we're announced to ghosts and stuff
port
Our reference to the docking port and thus the shuttle
Proc Details
activate
We got activated
event_process
Process with the SShutle subsystem. Return SHUTTLE_EVENT_CLEAR to self-destruct