Category:Command Group: Render Time Scope

From Bohemia Interactive Community
Jump to navigation Jump to search

Render time scope was introduced with Arma 2: Operation Arrowhead 1.60 and is available in Take On Helicopters and Arma 3.

Overview of Scripting Commands

These scripting commands work in render time scope rather than simulation time scope.

Render Time Scope Simulation Time Scope z Description
getPosVisual / visiblePosition getPos / position z = 0 on objects with roadways, terrain, water + waves
getPosATLVisual getPosATL z = 0 on terrain
getPosASLVisual / visiblePositionASL getPosASL z = 0 on water
N/A getPosASLW z = 0 on water + waves
AGLToASL + modelToWorldVisual [0,0,0] getPosWorld z = 0 on water. Calculated to true model center instead of land contact or bounding center
modelToWorldVisual modelToWorld z = 0 on objects with roadways, terrain, water + waves
worldToModelVisual worldToModel z = 0 on objects with roadways, terrain, water + waves

See also