Warning: file_put_contents(/ff_6abe3c0131af6a95b964891b3f64a9e935ad574170afaba5.php): failed to open stream: Permission denied in /home/ofpecsav/public_html/forum/Sources/Subs-ForumFirewall.php on line 1619
onEachFrame - OFPEC Scripting Command Reference | OFPEC The Editing Center

onEachFrame statement

Operand types

statement: Code

Type of returned value

Description

Statement is run every frame.

Private variables defined outside of onEachFrame scope are not inherited.
Only one onEachFrame loop can exist at any time.
Script suspension is not permitted within onEachFrame scope.

Used In

Arma2OA

Example

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

Advertisement