FANDOM


Description
The following script actions can be used to teleport squads.
Code
State
{
   StateName = "INIT",
   OnOneTimeEvent
   {
      Conditions =
      {
      },
      Actions =
      {
         EntityTeleport {
            Tag = "target",
            TargetTag = "dest"
         },
         SquadTeleportInRange {
            Tag = "target",
            TargetTag = "dest",
            Range = 10
         },
         PlayerSquadTeleportInRange {
            Player = "pl_Player1",
            Tag = "target",
            TargetTag = "dest",
            Range = 10
         },
         TeamSquadTeleportInRange {
            Team = "tm_Team1",
            Tag = "target",
            TargetTag = "dest",
            Range = 10
         },
      },
   };
};
Notes
  • Tag is the tag given to the squad or group you want to teleport.
  • TargetTag is the destination you want to teleport to.
  • Range is an area around the target in which other squads will be teleported as well.
  • You can add any Script Event Condition in the condition section to force this script to only trigger when the condition is true.


.

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.