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

From COD Modding & Mapping Wiki
Share/Save/Bookmark
Revision as of 01:02, 1 August 2009 by CoDEmanX (talk | contribs) (New page: {{Function |Version=4 |Name=SetVehWeapon( <weapon name> ) |Module=Vehicles |Available=SP Only |Summary=Set the vehicle's weapon |Call_on=a vehicle |Example=<pre> chopper SetVehWeapon...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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