formationDirection: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (command has no effect)
mNo edit summary
Line 10: Line 10:
____________________________________________________________________________________________
____________________________________________________________________________________________


| degrees <nowiki>=</nowiki> '''formationDirection''' [[Object#Person|Person]] |= Syntax
| [[Number]] <nowiki>=</nowiki> '''formationDirection''' unitName |= Syntax


|p1= degrees [[Number]] |= Parameter 1
|p1= unitName: [[Object]] |= Parameter 1
|p2= [[Object#Person|Person]] |= Parameter 2


| [[Number]] |= Return value
| [[Number]] |= Return value

Revision as of 00:33, 23 January 2009

-wrong parameter ("Arma") defined!-1.00
Hover & click on the images for description

Description

Description:
Return the direction in degrees of the 'unit' watching in formation.
Multiplayer:
Unit must be local.
Groups:
Uncategorised

Syntax

Syntax:
Number = formationDirection unitName
Parameters:
unitName: Object
Return Value:
Number

Examples

Example 1:
_degrees = FormationDirection _unit

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