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
Parameter | Type | Description |
---|---|---|
event_name | string | Event ID |
param1 | number | 1st parameter of the event. |
param2 | number | 2nd parameter of the event. |
param3 | number | 3rd parameter of the event. |
param4 | number | 4th parameter of the event. |
param5 | number | 5th parameter of the event. |
Return Values
This function doesn't return any value.