Difference between revisions of "MIST groupRandomDistSelf"
From DCS World Wiki - Hoggitworld.com
(No difference)
|
Latest revision as of 23:03, 13 April 2018
mist.groupRandomDistSelf
Added with: Mist 2.0 | ||||||||
Description | ||||||||
Function will set the task of the specified group to go a random distance and direction from its current location. group can be either a group name or a group table. Distance is the max distance from the
current location. If not specified a random distance between 300 and 1000 meters will be defined. form is the default formation name in as defined by the scripting engine. See mist.ground.buildWP or the Scripting Engine wiki for details. heading is the final heading the group will be oriented in once it reaches its destination. speed is the speed in kilometers per hour that the group will travel at to reach its destination. | ||||||||
Syntax | ||||||||
nothing mist.groupRandomDistSelf(table/string groupTable/groupName , number distance ,string formation ,number heading ,number speed ) | ||||||||
Valid Input Values: | ||||||||
group = 'myGroup'
distance = 5400 formation= 'cone' heading= 270 speed= 10 | ||||||||
Return value: | ||||||||
nothing | ||||||||
Return example: | ||||||||
nothing | ||||||||
Usage Examples: | ||||||||
| ||||||||
Notes: | ||||||||
Related Functions | ||||||||
|