Fandom

BattleForge Wiki

Condition Script Example - Timer Elapsed

1,156pages on
this wiki
Add New Page
Talk0 Share
Description
The following condition will trigger when a timer reaches a certain value.
Code
State
{
   StateName = "INIT",
   OnOneTimeEvent
   {
      Conditions =
      {
         MapTimerIsElapsed {
            Name = "mt_timer",
            Minutes = 1,
            Seconds = 10
         }

      },
      Actions =
      {
         <do stuff>
      },
   };
};
Notes
  • Name is the name of the timer you want to watch.
  • You can add any Script Action in the 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.