TBS Event

A TBS Event is a standard event working in battle.
Any event with the tag <TBS Event> will be recognized as such.

Trigger Type

However, TBS events aren't triggered the usual way.
Use this tag in a comment to specify how the event should be triggered: <LeTBS> Trigger_Type: string.

  • touch
    The event is triggered in contact with a actor.
  • step_on
    The event is triggered when a actor step on it.
  • turn_order_end
    The event is triggered at the end of the current turn order, when all actors and enemies played their turn.
  • battle_start
    The event is triggered at the battle start.
  • battle_end
    The event is triggered just before the end (win/loss) of the battle.

Properties

The following properties as to be used within the comment command.

  • <LeTBS> Free_LOS
    The event won't block the line of sight.
  • <LeTBS> Stop_On_Step
    When an entity steps on the event, the movement is stopped.
  • <LeTBS> Tile_Effect: ID
    Set a tile effect on the event. If the event moves, the tile effect will follow.
  • <LeTBS> Tied_Mark: ID
    Tie a mark to the event. If the event moves, the mark will follow.

Eventing Commands

There some commands I created that can help with battle eventing. The list is poor for now.

  • LeTBS Center (x),(y)
    Center the camera to the specified position.
  • LeTBS Center ActiveEntity
    Center the camera to the current playing entity's position.
  • LeTBS Center FlaggedEntity [FlagID]
    Center the camera to the flagged entity's position.
  • LeTBS Center [Whatever] Select If "Select" is used with the above commands, the map cursor will be set to the specified position.
  • LeTBS Wait [Value]
    Wait x frames.
  • LeTBS ResetEvents
    Reset the map events. Useful before or after a battle to reset the map events to their original state.
  • LeTBS ForceEventTrigger [ID]
    Trigger an event.
  • LeTBS ForceAction [ENTITY] [Skill_ID] [TARGET]
    Make en entity use a skill. (Poor list - WIP)
    • [ENTITY] can be:
      • flaggedEntity(flagID) : A flagged entity.
    • [TARGET] can be:
      • self : The caster.

How To Flag An Entity Or An Event

Use the comment <LeTBS> Flag: ID