getPosVisual: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments( \("local" or "global"\))?|Effects|Multiplayer Effects( \("local" or "global"\))?|Multiplayer Exe...) |
BrettMayson (talk | contribs) mNo edit summary |
||
(30 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
{{ | {{RV|type=command | ||
| arma3 | |game1= arma3 | ||
|1.32 | |version1= 1.32 | ||
|arg= global | |arg= global | ||
Line 8: | Line 8: | ||
|gr2= Render Time Scope | |gr2= Render Time Scope | ||
| Returns an object's | |descr= Returns an object's [[Position#PositionAGLS|AGLS position]] in render time scope. Alias of [[visiblePosition]]. | ||
{{Feature | Important | This command '''should not''' be used for actual 3D calculations. See [[getPos]] for more details.}} | |||
| | |s1= [[getPosVisual]] object | ||
|p1= object: [[Object]] - name of the object | |||
| | |r1= [[Array]] format [[Position#PositionAGLS|PositionAGLS]] | ||
|x1= < | |x1= <sqf>_playerRenderedPos = getPosVisual player;</sqf> | ||
|seealso= [[getPosASLVisual]] [[getPosATLVisual]] [[visiblePositionASL]] [[visiblePosition]] [[position]] [[getPos]] [[getPosATL]] [[getPosASL]] [[getPosASLW]] | |||
}} | }} | ||
Revision as of 12:05, 28 September 2023
Description
- Description:
- Returns an object's AGLS position in render time scope. Alias of visiblePosition.
- Groups:
- Object ManipulationRender Time Scope
Syntax
- Syntax:
- getPosVisual object
- Parameters:
- object: Object - name of the object
- Return Value:
- Array format PositionAGLS
Examples
- Example 1:
Additional Information
- See also:
- getPosASLVisual getPosATLVisual visiblePositionASL visiblePosition position getPos getPosATL getPosASL getPosASLW
Notes
-
Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note