<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://wiki.hoggitworld.com/index.php?action=history&amp;feed=atom&amp;title=MIST_teleportGroup</id>
		<title>MIST teleportGroup - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://wiki.hoggitworld.com/index.php?action=history&amp;feed=atom&amp;title=MIST_teleportGroup"/>
		<link rel="alternate" type="text/html" href="https://wiki.hoggitworld.com/index.php?title=MIST_teleportGroup&amp;action=history"/>
		<updated>2026-04-30T00:43:06Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.30.0</generator>

	<entry>
		<id>https://wiki.hoggitworld.com/index.php?title=MIST_teleportGroup&amp;diff=1038&amp;oldid=prev</id>
		<title>Grimes at 23:06, 13 April 2018</title>
		<link rel="alternate" type="text/html" href="https://wiki.hoggitworld.com/index.php?title=MIST_teleportGroup&amp;diff=1038&amp;oldid=prev"/>
				<updated>2018-04-13T23:06:49Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Mission Scripting&lt;br /&gt;
&lt;br /&gt;
|fName= mist.teleportGroup|&lt;br /&gt;
&lt;br /&gt;
|vNum = Mist 3.0&lt;br /&gt;
&lt;br /&gt;
|desc= teleports a group by the name groupName back to its initial location as set in the mission editor. '''Teleports the group in its current condition. Destroyed vehicles will stay dead''' |&lt;br /&gt;
&lt;br /&gt;
|rtnType= string&lt;br /&gt;
&lt;br /&gt;
|reqType1= string&lt;br /&gt;
&lt;br /&gt;
|reqName1= groupName&lt;br /&gt;
&lt;br /&gt;
|reqType2= &lt;br /&gt;
&lt;br /&gt;
|reqName2= &lt;br /&gt;
&lt;br /&gt;
|reqType3= &lt;br /&gt;
&lt;br /&gt;
|reqName3= &lt;br /&gt;
&lt;br /&gt;
|reqType4= &lt;br /&gt;
&lt;br /&gt;
|reqName4= &lt;br /&gt;
&lt;br /&gt;
|reqType5= &lt;br /&gt;
&lt;br /&gt;
|reqName5= &lt;br /&gt;
&lt;br /&gt;
|optType1= boolean/number&lt;br /&gt;
&lt;br /&gt;
|optName1= task/taskDelay&lt;br /&gt;
&lt;br /&gt;
|optType2= &lt;br /&gt;
&lt;br /&gt;
|optName2= &lt;br /&gt;
&lt;br /&gt;
|optType3= &lt;br /&gt;
&lt;br /&gt;
|optName3= &lt;br /&gt;
&lt;br /&gt;
|optType4= &lt;br /&gt;
&lt;br /&gt;
|optName4= &lt;br /&gt;
&lt;br /&gt;
|optType5= &lt;br /&gt;
&lt;br /&gt;
|optName5= &lt;br /&gt;
&lt;br /&gt;
|vars=&lt;br /&gt;
&lt;br /&gt;
|varExamples= &lt;br /&gt;
groupName= name of the group that is to be teleported&lt;br /&gt;
&lt;br /&gt;
task= Optional variable that will re-assign the groups original route.  If task is not provided group will remain stationary or RTB if an aircraft.  Function returns a mission editor formatted table of the group.&lt;br /&gt;
 &lt;br /&gt;
taskDelay= If this variable is a number it will re-assign the groups original route after the specified time in seconds&lt;br /&gt;
&lt;br /&gt;
|rtnExamples= string of group's name&lt;br /&gt;
&lt;br /&gt;
|example= The following code will teleport a group back to its original location if less than 25% of the group remains.&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
  if Group.getByName('groupName') then&lt;br /&gt;
    local myGroup = Group.getByName('groupName')&lt;br /&gt;
    if myGroup:getSize() &amp;lt; (myGroup:getInitialSize() * .25) then&lt;br /&gt;
      mist.teleportGroup('groupName')&lt;br /&gt;
      trigger.action.outText('Chronosphere Activated', 20)&lt;br /&gt;
    end&lt;br /&gt;
  end&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
|notes= Calls [[teleportToPoint]] to do all of the &amp;quot;heavy lifting&amp;quot;. &lt;br /&gt;
&lt;br /&gt;
As of mist 3.3 this function supports the use of static objects.&lt;br /&gt;
|funcs= {{listOfMistDynAddFuncs}}&lt;br /&gt;
&lt;br /&gt;
}}&lt;br /&gt;
[[Category: MIST|teleportGroup]]&lt;/div&gt;</summary>
		<author><name>Grimes</name></author>	</entry>

	</feed>