Page MenuHomeFeedback Tracker

AddAction conditionVariable "_target" is no valid output in so called loose turret seats.
Closed, ResolvedPublic

Details

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

aaa = player addAction ["TEST","", nil,0, false, true, ""," [_this,_target] call {hint str _this;true} && vehicle _this == _target"];
now take a normal cargo seat in a HEMTT.
Output is correct [player, vehicle player];
now take a "turret" seat (seat where shooting is possible)
Output is incorrect [player, player];

Output should be the same in both seats!!!

Additional Information

here is something badly wrong!
this needs to be fixed soon!

Event Timeline

Wulf added a subscriber: Wulf.Aug 22 2018, 2:54 PM

Hello.

The current way how it works is the correct way. Please have a look at _target and _originalTarget here.

Hi Wulf,

sorry, but you dont understand me right.
its not backward compatible.
an old condition with "_vehicle this == _target" fails in the " Drive-by-Shooting"^^ seats.

what you mean is
NEW = "_this == _originalTarget"
OLD = "_this in crew _target"

Test it, you will see what i mean.
Or do you mean the different behavior on some cargo seats is intended?

Thanks and best regards
Cyborg

Wulf added a comment.Aug 23 2018, 2:35 PM

It is intended.

Wulf closed this task as Resolved.Aug 23 2018, 2:36 PM
Wulf claimed this task.
Wulf changed Resolution from Open to Not A Bug.