tuxemon.event.actions.call_event module

final class tuxemon.event.actions.call_event.CallEventAction(event_id)[source]

Bases: EventAction

Execute the specified event’s actions by id.

Script usage

call_event <event_id>
Script parameters:

event_id – The id of the event whose actions will be executed.


event_id (int) –

event_id: int
name: ClassVar[str] = 'call_event'

Called only once, when the action is started.

For all actions, you will need to override this method.

For actions that only need to run one frame you can simply put all the code here. If the action will need to run over several frames, you can init your action here, then override the update method.

Return type: