Difference between revisions of "onEachFrame"

From Bohemia Interactive Community
Jump to navigation Jump to search
m
m
Line 18: Line 18:
 
____________________________________________________________________________________________
 
____________________________________________________________________________________________
  
|x1= <code>onEachFrame { hintSilent str position player; }; //Updates position every frame</code> |= Example 1
+
|x1= <code>onEachFrame { hintSilent str position player; }; //Hints position every frame</code> |= Example 1
  
 
}}
 
}}

Revision as of 21:16, 24 December 2012

Hover & click on the images for description

Description

Description:
Statement is run every frame.
Groups:
Uncategorised

Syntax

Syntax:
onEachFrame statement
Parameters:
statement: Code
Return Value:
Nothing

Examples

Example 1:
onEachFrame { hintSilent str position player; }; //Hints position every frame

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

Posted on 21 Dec, 2012
neokika
onEachFrame {}; //Reset event

Bottom Section