sm.event.types

Event types

Kind: Constant

Environments: Game

Game

Open the full Game reference

Value Description
validate Will make sure script instance exists, and that the callback is declared on the receiving end, before queuing the event. This is the default type.
blind Will blindly queue the event without making any validation checks. Can be useful for sending events to script we know will come alive the next tick.
instant Same as blind event, but sent immediately.

Returns:

Type Description
table The event types list.