Fandom

BattleForge Wiki

Event Script Example - Toggle Event

1,156pages on
this wiki
Add New Page
Talk0 Share
Description
The following script will provide the framework an event that can be triggered on and off.
Code
   OnToggleEvent
   {
      OnConditions =
      {
      },
      OffConditions =
      {
      },
      OnActions =
      {
      },
      OffActions =
      {
      }
   };
Notes
  • You need to add a Script Event Condition in the on and off condition sections to define when this event will trigger.
  • You can add any Script Action in the on or off action section to do something useful with this script.


.

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.