setFormDir: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 10: Line 10:
____________________________________________________________________________________________
____________________________________________________________________________________________


| group '''setFormDir''' heading |= Syntax
| ObjectOrGroup '''setFormDir''' heading |= Syntax


|p1= group: [[Object]] or [[Group]] |= Parameter 1
|p1= ObjectOrGroup : [[Object]] or [[Group]] |= Parameter 1


|p2= heading: [[Number]] |= Parameter 2
|p2= heading: [[Number]] |= Parameter 2
Line 19: Line 19:
____________________________________________________________________________________________
____________________________________________________________________________________________
   
   
|x1= <pre>group1 setFormDir 180</pre> |= Example 1
|x1= <pre>_group1 setFormDir 180</pre> |= Example 1
____________________________________________________________________________________________
____________________________________________________________________________________________



Revision as of 23:59, 30 August 2007

Hover & click on the images for description

Description

Description:
Set group formation heading. Accepted heading range is 0 to 360. Formation is facing this direction unless enemy is seen. When group is moving, this value is overriden by movement direction.
Groups:
Uncategorised

Syntax

Syntax:
ObjectOrGroup setFormDir heading
Parameters:
ObjectOrGroup : Object or Group
heading: Number
Return Value:
Nothing

Examples

Example 1:
_group1 setFormDir 180

Additional Information

See also:
See also needed

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note

Notes

Bottom Section