Page MenuHomeFeedback Tracker

setUnitPos export to SQF issue
Feedback, NormalPublic

Description

Set unit pos changes drastically on SQF export (DOWN instead of UP and UP instead of DOWN)




Details

Severity
Trivial
Resolution
Open
Reproducibility
Always
Operating System
Windows 10 x64
Category
Eden Editor
Steps To Reproduce

Variant A

  • Set up unit pos UP
  • Export mission to SQF

Expected result:
_this setUnitPos "UP"

Actual result:
_this setUnitPos "DOWN"

Variant B

  • Set up unit pos DOWN
  • Export mission to SQF

Expected result:
_this setUnitPos "DOWN"

Actual result:
_this setUnitPos "UP"

Event Timeline

Asmo created this task.Sep 17 2021, 8:10 AM
R3vo added a subscriber: R3vo.Sep 18 2021, 8:54 AM

This is caused by the following line:

if (objectBrain > 0 && _value != 3) then {format ["_this setUnitPos ""%1"";",["DOWN","MIDDLE","UP","AUTO"] select _value] call _fnc_addLine;}; //L555

In the attribute, the order is different:

attributeSave = "['auto','down','middle','up'] select (missionnamespace getvariable ['Stance_value',0]);"; //configFile >> "Cfg3DEN" >> "Attributes" >> "UnitPos" >> "attributeSave"
R3vo changed the task status from New to Confirmed.Sep 18 2021, 8:54 AM
Tenshi set Ref Ticket to Internal Ref.: AIII-54841.Dec 15 2021, 2:19 PM

The fix has been applied internaly thank you for reporting

BIS_fnc_KK changed the task status from Confirmed to Feedback.Dec 26 2021, 11:27 PM