-
Notifications
You must be signed in to change notification settings - Fork 2
Overview
TheMode edited this page Apr 12, 2021
·
3 revisions
All callback can have a properties parameter, this object can contain multiple members and are specified either when executing a function, or filled automatically when an event is triggered.
For example if you have a Player field inside the properties object, you should be able to do: (see the types.md document)
let position = properties.player.positionSignals are all-purpose listeners. Register them like so
executor.onSignal(SIGNAL_NAME, (properties) => {
// Your callback
})This is where you will be able to listen for game events such as movements. Event signals are listed here