-
Notifications
You must be signed in to change notification settings - Fork 5
7.4 Get Engine Parameters
Davide Magni edited this page Oct 24, 2016
·
2 revisions
Get an engine_par
of an Instrument Send FX.
This function is an inline function, therefore it can be used to load the Engine Par value into a variable.
get_send_fx_par(<par>, <slot>)
-
par
Use any of theENGINE_PAR_...
commands shown in KSP Reference Manual. -
slot
FX slot to insert the Effect in. Slots are zero-based, so this will be a number from 0 to 7.
Get an engine_par
of an Instrument Send FX.
This function is an inline function, therefore it can be used to load the Engine Par value into a variable.
get_bus_fx_par(<par>, <slot>, <bus>)
-
par
Use any of theENGINE_PAR_...
commands shown in KSP Reference Manual. -
slot
FX slot to insert the Effect in. Slots are zero-based, so this will be a number from 0 to 7. -
bus
Zero-based index of the Bus. KSP constantNI_BUS_OFFSET
is not required!
Get an engine_par
of an Instrument Send FX.
This function is an inline function, therefore it can be used to load the Engine Par value into a variable.
get_insert_fx_par(<par>, <slot>)
-
par
Use any of theENGINE_PAR_...
commands shown in KSP Reference Manual. -
slot
FX slot to insert the Effect in. Slots are zero-based, so this will be a number from 0 to 7.
Get an engine_par
of an Instrument Send FX.
This function is an inline function, therefore it can be used to load the Engine Par value into a variable.
get_group_fx_par(<par>, <slot>, <group>)
-
par
Use any of theENGINE_PAR_...
commands shown in KSP Reference Manual. -
slot
FX slot to insert the Effect in. Slots are zero-based, so this will be a number from 0 to 7. -
group
ID of the Group.