HasMag Property [Vietnam]

Usage:
   ObjectTemplate.HasMag boolean

Argument values:

argument 1:    0, 1; most commonly 0

Description: This property is used exclusively in Battlefield Vietnam. Equivalent to SetHasMag.

Used in object types (and how often in each type): FireArms (2%), HandFireArms (27%)

Used in a total of 29 .con files: Objects.con, Weapons.con

Parent directories of these .con files: vietnamObjects/Vehicles, vietnamObjects/HandWeapons

Example: (from vietnamObjects/HandWeapons/GrenadeAxis/Objects.con)
   ObjectTemplate.Create HandFireArms GrenadeAxis
   ObjectTemplate.NetworkableInfo HandFireArmsInfo
   ObjectTemplate.HasDynamicShadow 1
   ObjectTemplate.ProjectileTemplate GrenadeAxisProjectile
   ObjectTemplate.ProjectilePosition 0/0/0
   rem ObjectTemplate.ForceOnExplosion 10
   ObjectTemplate.MagSize 3
   ObjectTemplate.NumOfMag 1
   ObjectTemplate.MagType 0
   ObjectTemplate.Reloadtime 2
   ObjectTemplate.RoundOfFire 1
   ObjectTemplate.FireOnce 1
   rem ObjectTemplate.altFireOnce 1
   ObjectTemplate.HasArmor 1
   ObjectTemplate.Material 70
   ObjectTemplate.Hitpoints 10000
   ObjectTemplate.Maxhitpoints 10000
   ObjectTemplate.AmmoType 2
   ObjectTemplate.AutoReload 1
   ObjectTemplate.GUIIndex 13
   ObjectTemplate.SetHudAmmoType ATIconAndStrengthBar
   ObjectTemplate.AmmoIcon "Ammo/Icon_grenadeaxis.tga"
   ObjectTemplate.CrossHairType CHTIcon
   ObjectTemplate.HasMag 0
   ObjectTemplate.RotationalSpeed 8/0/0
   ObjectTemplate.Velocity 25
   ObjectTemplate.FireInCameraDof 1
   ObjectTemplate.HideDuringFireTime 0.4
   ObjectTemplate.FireDelay 1
   ObjectTemplate.AiTemplate GrenadeAI
   ObjectTemplate.SoldierCameraPosition 0/-0.03/0.2
   ObjectTemplate.CantSelectWhenNoAmmo 1
   ObjectTemplate.ChangeWeaponWhenNoAmmo 1
   ObjectTemplate.VelocityDependentOnHeat 1
   ObjectTemplate.HeatAddWhenFire 0.03
   rem ObjectTemplate.coolDownPerSec 0.05
   ObjectTemplate.ChangeWeaponWhenNoAmmo 1
   ObjectTemplate.CreateSkeleton animations/GrenadeAxis.ske
   ObjectTemplate.UseSkeletonPartAsMain Base
   ObjectTemplate.AddTemplate GrenadeAxisLod
   ObjectTemplate.LoadSoundScript Sounds/GrenadeAxis.ssc


Go to the ObjectTemplate properties list page, ObjectTemplate page, All Properties list, or Main scripting page.