https://wiki.hoggitworld.com/index.php?title=MIST_groundPatrol&feed=atom&action=history
MIST groundPatrol - Revision history
2024-03-28T23:48:44Z
Revision history for this page on the wiki
MediaWiki 1.30.0
https://wiki.hoggitworld.com/index.php?title=MIST_groundPatrol&diff=1027&oldid=prev
Grimes at 23:01, 13 April 2018
2018-04-13T23:01:51Z
<p></p>
<p><b>New page</b></p><div>{{Mission Scripting<br />
<br />
|fName= mist.ground.patrol<br />
<br />
|vNum = Mist 3.2<br />
<br />
|desc= This function will re-assign the route of the specified groupName as defined in the mission editor when the group reaches the end of their route effectively creating a patrol.<br />
<br />
|rtnType= nothing<br />
<br />
|reqType1= table/string <br />
<br />
|reqName1= group/groupName<br />
<br />
|reqType2= <br />
<br />
|reqName2= <br />
<br />
|reqType3=<br />
<br />
|optType1= string<br />
<br />
|optName1= patrolType<br />
<br />
|optType2= string<br />
<br />
|optName2= formation<br />
|optType3= number<br />
<br />
|optName3= speed<br />
|optType4=<br />
<br />
<br />
|varExamples= groupTable = Group.getByName('myGroup')<br />
groupName = string of an existing group<br />
<br />
patrolType = string of patrol types. <br />
doubleBack - Group follows the route in the order of 1, 2, 3, 2, 1, 2, 3, 2, ...<br />
nil or anything - Group follows route, when route is finish group travels back to WP 1: 1, 2, 3, 1, 2, 3, 1, ...<br />
<br />
formation = string of valid formation types<br />
<br />
speed = positive number in meters per second<br />
<br />
|rtnExamples= <br />
<br />
|example= <code><br />
do<br />
mist.ground.patrol('myGroup', nil, 'diamond', 10)<br />
mist.ground.patrol('myGroup', 'doubleBack')<br />
end<br />
</code><br />
<br />
|notes= Utilizes mist.ground.patrolRoute.<br />
<br />
|funcs= {{listOfMistGroupOrders}}<br />
<br />
}}<br />
[[Category: MIST|groundPatrol]]</div>
Grimes