freeLook: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame( +[0-9])?|Game [Vv]ersion( +[0-9])?|Game Version \(number surrounded by NO SPACES\)|Arguments in MP|Multiplayer Arguments( \("local" or "global"\))?|Effects|Execution|Effects? in MP|M...)
m (Text replacement - " {3,}\|" to " |")
Line 12: Line 12:


| [[Boolean]]
| [[Boolean]]


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


| [[lookAt]]
| [[lookAt]]

Revision as of 18:24, 18 January 2021

Hover & click on the images for description

Description

Description:
Returns true if freelook is active.
Multiplayer:
Will check the player of the machine where the command is used.
Groups:
Object Manipulation

Syntax

Syntax:
freeLook
Return Value:
Boolean

Examples

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

Additional Information

See also:
lookAt

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