Page MenuHomeFeedback Tracker

setpos takes positionAGLS rather than positionAGL
New, NormalPublic

Description

the wiki page (https://community.bistudio.com/wiki/setPos) says this command uses positionAGL when in reality it uses positionAGLS. There doesn't seem to be a command for setPosAGL either.

Details

Severity
Tweak
Resolution
Open
Reproducibility
Always
Operating System
Windows 10 x64
Category
Scripting
Steps To Reproduce

stand under a tall building and execute

player setPos [getPos player select 0, getPos player select 1, 95];

compare that to what happens on an open field and check the real height with

ASLToAGL getPosASL player

depending on the height of the building you should see how the coordinates are taken from the surface of the building rather than terrain.

Event Timeline

Jushdrug created this task.Nov 5 2020, 11:59 AM
dedmen added a subscriber: dedmen.EditedDec 16 2020, 2:38 PM

what is the bug or feature request or what here? What is this ticket supposed to tell me?
That the wiki is wrong and wrote AGL instead of AGLS?

Jushdrug added a comment.EditedDec 17 2020, 10:10 PM

that there is no setPosAGL when there should be and that the wiki page for setpos tells you that it sets postionAGL when it really sets postionAGLS.