Skip to main content

msfs.event_sender()

msfs.event_sender(event_name[, param1[, param2[, param3[, param4[, param5]]]])

This function creates a native-action to send a SimConnect client Event ID to the Microsoft Flight Simulator.

Note

This function is recommended to be replaced with msfs.mfwasm.rpn_executer(). It provides greater flexibility for specifying operations, and allows for operations that cannot be achieved with Event ID.

Parameters

ParameterTypeDescription
event_namestringEvent ID
param1number1st parameter of the event.
param2number2nd parameter of the event.
param3number3rd parameter of the event.
param4number4th parameter of the event.
param5number5th parameter of the event.

Return Values

This function returns a native-action.

See Also