An event is a specific action or state change that occurs in a game, which typically triggers the execution of additional logic.
Details
General Concepts
An event is a specific action or state change that occurs in a game. In Craftland Studio PC, most script logic is initiated by events.
By using events, you can execute additional logic at specific points, thereby achieving your designed outcome.
Usages
You can refer to the documentation to find the events you need, and to check their trigger conditions and return parameters.
Events have several supporting components. By checking the supporting components for an event, you can determine its usage requirements: the script containing the event must be attached to an entity that has at least one of the supporting components for the event to trigger correctly.
You can also use block scripting to interact with events in a more intuitive way.