Skip to content

7.4 Get Engine Parameters

Davide Magni edited this page Oct 24, 2016 · 2 revisions

get_send_fx_par

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 the ENGINE_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_bus_fx_par

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 the ENGINE_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 constant NI_BUS_OFFSET is not required!

get_insert_fx_par

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 the ENGINE_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_group_fx_par

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 the ENGINE_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.
Clone this wiki locally