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 20:16, 24 December 2012

Introduced with Arma 2: Operation Arrowhead version1.63
  

Click on the images for descriptions

Introduced in

Game:
Arma 2: Operation Arrowhead
Version:
1.63

Description

Description:
Statement is run every frame.

Syntax

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

Examples

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

Additional Information

Multiplayer:
-
See also:
See also needed

Notes

Only post proven facts here. Report bugs on the feedback tracker. Use the talk page or the forums for discussions.
Add New Note | How To

Notes

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

Bottom Section