Difference between revisions of "getPos"
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "[[Category:Scripting_Commands_Take_On_Helicopters" to "[[Category:Scripting Commands Take On Helicopters") |
Lou Montana (talk | contribs) m (Text replacement - "\<dt class\=\"note\"\>\'\'\'\[\[(.*)\]\]\'\'\'" to "<dt class="note">$1") |
||
Line 60: | Line 60: | ||
<!-- Note Section BEGIN --> | <!-- Note Section BEGIN --> | ||
<dd class="notedate">Posted on 16 Feb, 2007 | <dd class="notedate">Posted on 16 Feb, 2007 | ||
− | <dt class="note"> | + | <dt class="note">[[User:Dr_Eyeball|Dr_Eyeball]]<dd class="note"> |
getPos obj select 2 | getPos obj select 2 | ||
might return the vertical position above ground level, but for a stacked object, it returns the vertical position above the object beneath it. The same problem exists for [[getPosASL]]. There was a [http://www.flashpoint1985.com/cgi-bin/ikonboard311/ikonboard.cgi?s=e587356595b907e91f96b8817d7f8a26;act=ST;f=71;t=57918 discussion] thread in the BIS forums which suggested the use of the command [[modelToWorld]] instead to get around this issue where an absolute vertical position is required. ArmA Ver '''1.02'''. | might return the vertical position above ground level, but for a stacked object, it returns the vertical position above the object beneath it. The same problem exists for [[getPosASL]]. There was a [http://www.flashpoint1985.com/cgi-bin/ikonboard311/ikonboard.cgi?s=e587356595b907e91f96b8817d7f8a26;act=ST;f=71;t=57918 discussion] thread in the BIS forums which suggested the use of the command [[modelToWorld]] instead to get around this issue where an absolute vertical position is required. ArmA Ver '''1.02'''. | ||
<dd class="notedate">Posted on 23 Nov, 2011 | <dd class="notedate">Posted on 23 Nov, 2011 | ||
− | <dt class="note"> | + | <dt class="note">[[User:Tankbuster|Tankbuster]]<dd class="note"> |
You can use getPos and setPos on triggers. | You can use getPos and setPos on triggers. | ||
Revision as of 16:41, 17 May 2020
Notes
- Posted on 16 Feb, 2007
- Dr_Eyeball
- getPos obj select 2 might return the vertical position above ground level, but for a stacked object, it returns the vertical position above the object beneath it. The same problem exists for getPosASL. There was a discussion thread in the BIS forums which suggested the use of the command modelToWorld instead to get around this issue where an absolute vertical position is required. ArmA Ver 1.02.
- Posted on 23 Nov, 2011
- Tankbuster
- You can use getPos and setPos on triggers.