assignedVehicle: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(see also 2)
mNo edit summary
Line 10: Line 10:
____________________________________________________________________________________________
____________________________________________________________________________________________


| [[Object#Vehicle|Vehicle]] <nowiki>=</nowiki> '''assignedVehicle''' [[Object#Person|Person]]|= Syntax
| [[Object]] <nowiki>=</nowiki> '''assignedVehicle''' unitName |= Syntax


|p1=  [[Object#Person|Person]]: [[Object]] |= Parameter 1
|p1=  unitName: [[Object]] |= Parameter 1


| [[Object#Vehicle|Vehicle]] [[Object]] |= Return value
| [[Object]] |= Return value
____________________________________________________________________________________________
____________________________________________________________________________________________
   
   

Revision as of 16:10, 5 February 2009

-wrong parameter ("Arma") defined!-1.05
Hover & click on the images for description

Description

Description:
Return the vehicle a unit is assigned to.
If no vehicle is assigned objNull is returned.
Groups:
Uncategorised

Syntax

Syntax:
Object = assignedVehicle unitName
Parameters:
unitName: Object
Return Value:
Object

Examples

Example 1:
_vehicle= assignedVehicle player

Additional Information

See also:
assignAsDriverassignAsCargoassignAsCommanderassignAsGunnerunassignVehicle

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note

Notes

Bottom Section