Difference between revisions of "deleteVehicle"

From Bohemia Interactive Community
Jump to navigation Jump to search
(Do not delete vehicle crew with it!)
m
Line 24: Line 24:
 
   
 
   
 
|x1= <code>[[deleteVehicle]] _house1;</code> |= Example 1
 
|x1= <code>[[deleteVehicle]] _house1;</code> |= Example 1
|x2= Deleteing a vehicle with crew: <code>// might want to make sure that the car is local
+
|x2= Deleting a vehicle with crew: <code>// might want to make sure that the car is local
 
{car [[deleteVehicleCrew]] _x} [[forEach]] [[crew]] car;
 
{car [[deleteVehicleCrew]] _x} [[forEach]] [[crew]] car;
 
[[deleteVehicle]] car;</code>|= Example 2
 
[[deleteVehicle]] car;</code>|= Example 2

Revision as of 14:21, 15 September 2018

Template:Command

Notes

Bottom Section