BattleForge Wiki
Register
Advertisement
Description
The following script will immediately end the game with a failure screen. Combine it with a condition to define lose conditions.
Code
State
{
   StateName = "INIT",
   OnOneTimeEvent
   {
      Conditions =
      {
      },
      Actions =
      {
         PlayerGameOver
         {
            Player = "ALL",
            TargetTag = "anytag",
            Message = "Message goes here"
         }
      }
   };
};
Notes
  • Player can be a specific player or "ALL" players.
  • TargetTag need to be some entity on the map. It may be the position the camera zooms to when you lose.
  • Message, not sure what this is used for. I don't remember seeing the message printed anywhere.
  • You can add any Script Event Condition in the condition section to force this script to only trigger when the condition is true.




Skylords

Battleforge has been revived by a group of passionate players and developers under the name Skylords Reborn


It is a fully functional, community-made, non-profit and completely free-to-play relaunch of the game. The relaunch has been worked on for several years, and receives regular updates.

The new Wiki can be found here: Skylords Reborn Wiki Page



.
Advertisement