Page MenuHomeFeedback Tracker

getting in cargo problems
New, WishlistPublic

Description

Player is always put in cargo seat 0 (getCargoIndex) regardless of what cargo position he is entering, at the same time assignedvehiclerole returns []

moveInCargo works and player takes correct seat and vehicle role is assigned

action ["getincargo"... puts player in correct index, but does not assign vehicle role.

happens in SP on both cars and helis

Details

Legacy ID
1386575761
Severity
None
Resolution
Open
Reproducibility
Always
Category
Firing from Vehicles
Steps To Reproduce

spawn gosthawk name it heli

enter any cargo seat of the heli, execute

hint str [heli getCargoIndex player, assignedVehicleRole player];

will be [0, []]

exit, execute

  • spawn {

player moveInCargo [heli, 3];
waitUntil {player in heli};
hint str [heli getCargoIndex player, assignedVehicleRole player];
};

will be [3, ["cargo"]]

all good, get out, execute

  • spawn {

player action ["getincargo", heli, 5];
waitUntil {player in heli};
hint str [heli getCargoIndex player, assignedVehicleRole player];
};

will be [5, []]

Additional Information

spawn offroad C_Offroad_01_F

call it car

execute

  • spawn {

player moveInCargo [car, 4];
waitUntil {player in car};
hint str [car getCargoIndex player, assignedVehicleRole player];
};

non human turret cargo, returns
will be [4, ["cargo", [0]]]
should be [4, ["cargo"]]

for armed offroad:

both

  • spawn {

player moveInCargo [car, 0];
waitUntil {player in car};
hint str [car getCargoIndex player, assignedVehicleRole player];
};

and

  • spawn {

player moveInCargo car;
waitUntil {player in car};
hint str [car getCargoIndex player, assignedVehicleRole player];
};

return

[0,[]]

Event Timeline

Killzone_Kid edited Additional Information. (Show Details)
Killzone_Kid set Category to Firing from Vehicles.
Killzone_Kid set Reproducibility to Always.
Killzone_Kid set Severity to None.
Killzone_Kid set Resolution to Open.
Killzone_Kid set Legacy ID to 1386575761.May 7 2016, 7:29 PM