freeLook: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(Added example, see also and MP details.)
Line 15: Line 15:




|x1= <code>
|x1= <code>[[systemChat]] ([[if]] [[freeLook]] then {"Quit looking around player!"} [[else]] {""});
</code>|= EXAMPLE1  
</code>|= EXAMPLE1  


____________________________________________________________________________________________
____________________________________________________________________________________________


| |= SEEALSO  
| [[lookAt]], [[lookAtPos]] |= SEEALSO  


| |= MPBEHAVIOUR  
| Will check the player of the machine where the command is used. |= MPBEHAVIOUR  
____________________________________________________________________________________________
____________________________________________________________________________________________
}}
}}

Revision as of 14:58, 14 July 2014

Hover & click on the images for description

Description

Description:
Returns true if freelook is active.
Groups:
Uncategorised

Syntax

Syntax:
freeLook
Return Value:
Boolean

Examples

Example 1:
systemChat (if freeLook then {"Quit looking around player!"} else {""});

Additional Information

See also:
lookAtlookAtPos

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