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)
 
(One intermediate revision by one other user not shown)
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 38: Line 38:
| [[worldToModel]]
| [[worldToModel]]
| z = 0 on objects with roadways, terrain, water + waves
| z = 0 on objects with roadways, terrain, water + waves
|-
| [[getRelPos]]
| N/A
| Only when attached object is using animated selection as anchor
|}
|}


Line 44: Line 48:
* [[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]]

Latest revision as of 08:45, 31 March 2023

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
getRelPos N/A Only when attached object is using animated selection as anchor

See also