unitAimPositionVisual: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "<code>\[\[([a-zA-Z0-9_]+)\]\] +\[\[([a-zA-Z0-9_]+)\]\];?<\/code>" to "<sqf>$1 $2;</sqf>") |
No edit summary |
||
Line 19: | Line 19: | ||
|seealso= [[unitAimPosition]] [[aimPos]] [[eyePos]] [[getPosASL]] [[weaponDirection]] | |seealso= [[unitAimPosition]] [[aimPos]] [[eyePos]] [[getPosASL]] [[weaponDirection]] | ||
}} | |||
{{Note | |||
|user= Samatra | |||
|timestamp= 20230430114458 | |||
|text= This command (along with [[unitAimPosition]] and [[aimPos]]) is unreliable when entity has [[objectParent]], it can return its last position in the world in case of static weapon packed into backpack, or can return very outdated (lagging behind) position or even [0,0,0] on remote units inside vehicles. Be careful when using it! | |||
}} | }} |
Revision as of 12:44, 30 April 2023
Description
- Description:
- Returns the position on the unit other units can aim at in render scope. See also aimPos, unitAimPosition.
- Groups:
- Object ManipulationRender Time Scope
Syntax
- Syntax:
- unitAimPositionVisual unit
- Parameters:
- unit: Object
- Return Value:
- Array - position in format PositionAGL
Examples
- Example 1:
- unitAimPositionVisual player;
Additional Information
- See also:
- unitAimPosition aimPos eyePos getPosASL weaponDirection
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
- Posted on Apr 30, 2023 - 11:44 (UTC)
- This command (along with unitAimPosition and aimPos) is unreliable when entity has objectParent, it can return its last position in the world in case of static weapon packed into backpack, or can return very outdated (lagging behind) position or even [0,0,0] on remote units inside vehicles. Be careful when using it!