BattleForge Wiki
Register
Advertisement
Description
The following condition will trigger when the player gains ownership of the target entity.
Code
State
{
   StateName = "INIT",
   OnOneTimeEvent
   {
      Conditions =
      {
         EntityIsOwnedByPlayer {
            Player = "pl_Player1",
            Tag = "creep"
         }
      },
      Actions =
      {
         <do stuff>
      },
   };
};
Notes
  • Player is the player against whom ownership will be tested.
  • Tag is the tag of the entity that will trigger this condition.
  • You will need to add the tag from the Entity Properties window.
  • You may use any tag name you wish.
  • You can add any Script Action in the action section to do something useful with this script.




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