Command Group: Render Time Scope – Category

From Bohemia Interactive Community
Jump to navigation Jump to search
m (replace GVI with a text to remove the categories)
m (Add {{n/a}} usage)
Line 1: Line 1:
Render time scope was introduced with '''{{arma2oa}} 1.60''' and is available in '''{{tkoh}}''' and '''{{arma3}}'''.
Render time scope was introduced with '''{{arma2oa}} 1.60''' and is available in '''{{tkoh}}''' and '''{{arma3}}'''.


== Overview of Scripting Commands ==
== Overview of Scripting Commands ==
Line 5: Line 6:
These scripting commands work in render time scope rather than simulation time scope.
These scripting commands work in render time scope rather than simulation time scope.


{| class="wikitable" width="100%" style="text-align:left;"
{| class="wikitable" width="100%"
 
! Render Time Scope
! Render Time Scope
! Simulation Time Scope
! Simulation Time Scope
! z Description
! Description
|-
|-
| [[getPosVisual]] / [[visiblePosition]]
| [[getPosVisual]] / [[visiblePosition]]
Line 23: Line 23:
| z = 0 on water
| z = 0 on water
|-
|-
| ''N/A''
| {{n/a}}
| [[getPosASLW]]
| [[getPosASLW]]
| z = 0 on water + waves
| z = 0 on water + waves
Line 39: Line 39:
| z = 0 on objects with roadways, terrain, water + waves
| z = 0 on objects with roadways, terrain, water + waves
|}
|}


== See also ==
== See also ==
Line 44: Line 45:
* [[Simulation vs Render Time Scope]] for more information.
* [[Simulation vs Render Time Scope]] for more information.
* [https://www.bohemia.net/blog/experimental-betas-interpolating-the-future Original dev blog post] from June 15, 2011 during {{arma2oa}} development
* [https://www.bohemia.net/blog/experimental-betas-interpolating-the-future Original dev blog post] from June 15, 2011 during {{arma2oa}} development


[[Category:Scripting Commands by Functionality]]
[[Category:Scripting Commands by Functionality]]

Revision as of 18:17, 23 December 2021

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 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