Call of Duty 4: Scripting Reference - Vehicles::SetVehWeapon

From COD Modding & Mapping Wiki
Share/Save/Bookmark
Jump to: navigation, search


SetVehWeapon( <weapon name> )

Module: Vehicles
SP Only

Summary:

Set the vehicle's weapon


Call this on: a vehicle

Example:

 chopper SetVehWeapon( "AGM_114" );

Required arguments:

  1. <weapon name>


Optional arguments:

none


Notes:

none