addVehicle: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
(updated command description from topic in BI forums)
Line 7: Line 7:
____________________________________________________________________________________________
____________________________________________________________________________________________


| Adds the specified vehicle to the specified group. |= 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. |= Description
____________________________________________________________________________________________
____________________________________________________________________________________________


Line 19: Line 19:
____________________________________________________________________________________________
____________________________________________________________________________________________
   
   
|x1= _group AddVehicle _vehicle |= Example 1
|x1= _group addVehicle _vehicle |= Example 1
____________________________________________________________________________________________
____________________________________________________________________________________________


| |= See also
| [[leaveVehicle]] |= See also


}}
}}
Line 30: Line 30:


<!-- Note Section BEGIN -->
<!-- Note Section BEGIN -->
 
<dd class="notedate"></dd>
<dt class="note">'''[[User:Ceeeb|Ceeeb]]'''</dt>
<dd class="note">
* 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.<br>
* More than one vehicle can be added to a group, and more than one group can be added to a vehicle.<br>
* 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.</dd>
<!-- Note Section END -->
<!-- Note Section END -->
</dl>
</dl>

Revision as of 02:40, 22 November 2008

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

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:
Group addVehicle Vehicle
Parameters:
group: Group
Vehicle: Object
Return Value:
none

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.

Bottom Section