ACE3 icon indicating copy to clipboard operation
ACE3 copied to clipboard

fnc_loadperson.sqf / fnc_loadpersonlocal.sqf

Open geroge-011 opened this issue 9 years ago • 6 comments

Arma 3 Version: x.xx (stable / rc / dev) *ALL CBA Version: 3.x.x (stable / dev + commit hash) *ALL ACE3 Version: 3.x.x (stable / dev + commit hash)*ALL

Mods:

  • @CBA_A3
  • @ace
  • '@rhs'

Description:

  • Loading people into vehicles might not work that well for modded vehicles, (only checks for cargo and gunner.
  • Rolling down windows on the RHS humvees will turn the seat from cargo into turret. (having to roll up to window to load a patient in is annoying)

Steps to reproduce:

  • fullcrew [rhs_uaz_open,"all",true] //[[,"driver",-1,[],false],[,"cargo",4,[],false],[,"Turret",2,[0],true],[,"Turret",5,[1],true],[,"Turret",0,[2],true],[,"Turret",1,[3],true],[,"Turret",3,[4],true]]

So instead of using the method use right now, I offer a solution to use https://community.bistudio.com/wiki/fullCrew instead, with the combination of moveInTurret commad.

ALL SEATS IN VEHICLES ARE EQUAL. TREAT THEM AS EQUAL AND STOP TURRET SHAMING TODAY!

Where did the issue occur?

  • Dedicated / Self-Hosted Multiplayer / Singleplayer / Editor (Singleplayer) / Editor (Multiplayer) / Virtual Arsenal
  • EVERYWHERE

Placed Modules:

  • none

RPT log file:

  • not needed.

geroge-011 avatar Feb 22 '17 15:02 geroge-011

Related to #2965 (but this is a separate issue) I think there was a reason we kept knocked out people out of turrets, need to verify if that is still the case.

PabstMirror avatar Feb 22 '17 16:02 PabstMirror

Use fullCrew where exactly?

commy2 avatar Feb 22 '17 16:02 commy2

fullcrew to get the list of open seats instead of _x emptyPositions "gunner" > 0

{isNull (_x select 0)}count fullCrew [_x,"all",true] > 0

geroge-011 avatar Feb 22 '17 17:02 geroge-011

Not putting unconscious soldiers in turret slots is intentional, but I guess that makes them not being able to be placed in FFV slots too.

commy2 avatar Feb 22 '17 18:02 commy2

_FFVTurrets = allTurrets [_vehicle,true] - allTurrets [_vehicle,false];

It should just prioritize cargo over turrets over commander over gunner.

geroge-011 avatar Feb 22 '17 18:02 geroge-011

So do we want to fix this? I see alot of maybe we should not fix this. But are we fixing this? Are we loading people inside turrets as a last resort?

Phyma avatar Jun 06 '17 07:06 Phyma