Page MenuHomeFeedback Tracker

getRelPos - position parameter
Closed, ResolvedPublic

Description

Hello,

Currently, getrelpos syntax is

object getRelPos [distance, direction]

requires to spawn an object to use it.

Is it possible to add an alternative array position parameter instead of object ?

Syntax:

position getRelPos [distance, direction]

Details

Severity
Feature
Resolution
Not A Bug
Reproducibility
Always
Operating System
Windows 10 x64
Category
General
Steps To Reproduce

see description

Additional Information

see description

Event Timeline

code34 created this task.Dec 27 2020, 8:09 AM
dedmen claimed this task.Jan 4 2021, 3:09 PM
dedmen set Ref Ticket to AIII-53680.
dedmen changed the task status from New to Need More Info.Tue, Feb 9, 10:14 AM

getRelPos is relative to the object's view direction.

Your alt syntax doesn't have view direction, so we could just assume north, but you can also just math that by yourself?

Your request makes no sense, and you can already use https://community.bistudio.com/wiki/getPos

BIS_fnc_KK closed this task as Resolved.Tue, Feb 9, 1:52 PM
BIS_fnc_KK changed Resolution from Open to Not A Bug.