addVehicle: Difference between revisions
m (Fixed link to leaveVehicle)  | 
				 (add. classification)  | 
				||
| Line 47: | Line 47: | ||
[[Category:Command_Group:_Object_Manipulation|{{uc:{{PAGENAME}}}}]]  | [[Category:Command_Group:_Object_Manipulation|{{uc:{{PAGENAME}}}}]]  | ||
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]]  | [[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]]  | ||
[[Category:Scripting Commands VBS2|{{uc:{{PAGENAME}}}}]]  | |||
Revision as of 00:28, 2 December 2009
Description
- Description:
 - Adds a specified vehicle for use by a specified AI led group. The vehicle will be considered as an available vehicle for use by his group.
 - Groups:
 - Uncategorised
 
Syntax
- Syntax:
 - groupName addVehicle vehicleName
 - Parameters:
 - groupName: Group
 - vehicleName: Object
 - Return Value:
 - Nothing
 
Examples
- Example 1:
 - _group addVehicle _vehicle
 
Additional Information
- See also:
 - leaveVehicle
 
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
- Ceeeb
 - 
- This command works best when used on empty vehicles. If used on a vehicle already driven by a member of another group, the driver will continue under his own group's orders, which may not benefit the addVehicle group.
 - More than one vehicle can be added to a group, and more than one group can be added to a vehicle.
 - When deciding whether to board a vehicle, AI leaders seem to only consider the transport benefit of a vehicle, ignoring any combat benefits the vehicle may provide.
 
 - This command works best when used on empty vehicles. If used on a vehicle already driven by a member of another group, the driver will continue under his own group's orders, which may not benefit the addVehicle group.