how can I use the payload that the Send State Tree Event has?
The payload is something that will be able to be used in 5.5. It was added in 5.4, but no real functionality was added to support it was included in that version.
You can use the payload for Conditions. The condition can be on the transition or on an enter condition by the condition variables binding to the event payload. Enter conditions have a boolean flag for Require Event to Enter which can specify the Struct or Tag from the event that is needed and enable being able to bind to the event payload.
2 Likes
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.