assignedVehicleRole – Talk

From Bohemia Interactive Community
Jump to navigation Jump to search

Of note: player as gunner in tank returns ["TURRET",[0]], player as commander returns ["TURRET",[0,0]]. --Doolittle 07:45, 14 July 2007 (CEST)

That strongly depends on what turret definition the tanks has, so this goes not for any tank or MBT. --raedor 10:52, 14 July 2007 (CEST)
Yes, I take back everything I said. This command is confusing to me. If you get in an empty vehicle, then get out, you are now listed as being assigned to it. --Doolittle 21:48, 14 July 2007 (CEST)
It's exactly what it says: Assigned does not mean where you are. It's where you're supposed to be. ( the ArmA AI programming understands it, therefore it may be less suited for player activity.)

As assignedVehicleRole can return ["Turret",[path]] so how to assign a unit to the specific turret? (for ex: second gunner ?)