Scheduled actions

From Lasers-Enigma Documentation
Jump to: navigation, search

Introduction

Most components can support scheduled actions.

It's basically a wait to make actions like rotating or changing colors done in a loop. That's very useful for 2 reasons:

  • Players will have to synchronize themselves with what's done automatically. They will have to think several moves ahead.
  • It's heavily configurable so it multiplies the possibilities offered by the plugin.

Access

  • Use /lasers command.
  • Create or right click a component that supports colors or rotation (or both).
  • Click on Component configuration to open the configuration menu of this components.
  • Click on Scheduled actions menu to open the main scheduled actions menu.

Creation (wizard)

If you want to easily create scheduled actions, you can use the wizard. It will record the action you do on a component and the delay between each of them.

  • From the Scheduled actions menu click on Start recording
  • Use the Escape key to exit the menu.
  • Do what you want on the component (rotations / color changes).
  • Click again on Component configuration to open the configuration menu of this components.
  • Click again on Scheduled actions menu to open the main scheduled actions menu.
  • Click on Ends the recording
  • Leave the area and enter it again.

The action you did will have been saved and then they will be executed in a loop on this component.

Creation and Edition (Manually)

  • From the Scheduled actions menu click on Edition of the scheduled actions. This will open an horizontally scrollable menu where each scheduled action is a column.
  • You can then:
    • Add a new action before/after the others by clicking on the New scheduled action menu item.
    • Edit an action by clicking on its icon. You will then be able to change what it does (the action type) and, if the action type is Waits, to change the delay.
    • Delete an action by clicking on the Delete action icon on its column.
    • Swap an action with the one before/after by clicking on the corresponding arrow.

Clear

  • From the Scheduled actions menu click on Deletes scheduled actions.