Skip to main content

msfs.send_event()

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

This function send a Event ID to the Microsoft Flight Simulator.

Note

This function is recommended to be replaced with msfs.mfwasm.execute_rpn(). 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 doesn't return any value.

See Also​