assignedVehicle: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (=)
m (changed global to local variable to make clear the variable)
Line 10: Line 10:
____________________________________________________________________________________________
____________________________________________________________________________________________


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


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


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

Revision as of 05:55, 27 August 2007

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

Description

Description:
Return the vehicle a unit is assigned to.
Groups:
Uncategorised

Syntax

Syntax:
Vehicle = assignedVehicle Person
Parameters:
Person: Object
Return Value:
Vehicle Object

Examples

Example 1:
_vehicle= assignedVehicle player

Additional Information

See also:
See also needed

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