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

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


AddVehicleToCompass( <compassIconType> )

Module: Vehicles
SP Only

Summary:

Add this vehicle to the compass.


Call this on: a vehicle

Example:

self AddVehicleToCompass();

Required arguments:

  1. <compassIconType> Type of icon to show on the minimap, can be 'tank', 'helicopter', 'plane', 'automobile'.


Optional arguments:

none


Notes:

none