Page MenuHomeFeedback Tracker

assignedVehicleRole returns [] for remote objects
New, WishlistPublic

Description

assignedVehicleRole works fine when applied to self i.e. assignedVehicleRole player.

However, when applied on other players in MP, it returns [].

If the new fullCrew command currently in Dev works well, then assignedVehicleRole becomes obsolete.
https://community.bistudio.com/wiki/fullCrew

Details

Legacy ID
2049738873
Severity
None
Resolution
Open
Reproducibility
Always
Category
Scripting
Steps To Reproduce

// when there are other passengers in the vehicle apart from yourself, run the following code

{

systemChat str [name _x, assignedVehicleRole _x];

} forEach (crew vehicle player);

Event Timeline

cyckuan edited Steps To Reproduce. (Show Details)Oct 25 2014, 11:45 AM
cyckuan edited Additional Information. (Show Details)
cyckuan set Category to Scripting.
cyckuan set Reproducibility to Always.
cyckuan set Severity to None.
cyckuan set Resolution to Open.
cyckuan set Legacy ID to 2049738873.May 7 2016, 7:41 PM