Command Group: Render Time Scope – Category

From Bohemia Interactive Community
Jump to navigation Jump to search
(Created page with "{{GVI|arma3|0.50|Category}} {{GVI|TKOH|1.00|Category}} <!-- ? --> {{GVI|arma2oa|1.60|Category}} == Overview of Scripting Commands == These scripting commands work in render t...")
 
mNo edit summary
Line 2: Line 2:
{{GVI|TKOH|1.00|Category}} <!-- ? -->
{{GVI|TKOH|1.00|Category}} <!-- ? -->
{{GVI|arma2oa|1.60|Category}}
{{GVI|arma2oa|1.60|Category}}
[[Category:Scripting Commands by Functionality]]
== Overview of Scripting Commands ==
== Overview of Scripting Commands ==



Revision as of 12:15, 15 September 2020

Arma 3 logo black.png0.50 tkoh logo small.png1.00 A2 OA Logo.png1.60

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