AmmoBarTextPosX Property [Vietnam]

Usage:
   ObjectTemplate.AmmoBarTextPosX number

Argument values:

argument 1:    range is -12 to 52; most commonly 52

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

Related properties: AmmoBar, AmmoBarFill, AmmoBarPosX, AmmoBarPosY, AmmoBarSize, AmmoBarTextPosY, GUIIndex

Used in object types (and how often in each type): HandFireArms (36%)

Used in a total of 34 .con files: Objects.con

Parent directory of these .con files: vietnamObjects/HandWeapons

Example: (from vietnamObjects/HandWeapons/Detonator/Objects.con)
   ObjectTemplate.Create HandFireArms Detonator
   ObjectTemplate.ItemIndex 11
   ObjectTemplate.MagSize -1
   ObjectTemplate.NumOfMag -1
   ObjectTemplate.MagType 0
   ObjectTemplate.Reloadtime 1
   ObjectTemplate.RoundOfFire 1
   ObjectTemplate.FireOnce 1
   ObjectTemplate.AltFireOnce 1
   ObjectTemplate.AltWeaponindex 4
   ObjectTemplate.DetonateAltWeapon 1
   ObjectTemplate.AutoReload 0
   ObjectTemplate.GUIIndex 15
   ObjectTemplate.SetHudAmmoType ATIcon
   rem objectTemplate.ammoIcon "Ammo/Icon_demokit.tga"
   ObjectTemplate.AmmoIcon "Ammo/Icon_demokitt.tga"
   ObjectTemplate.AmmoBar "Menu/hud/guage03empty.tga"
   ObjectTemplate.AmmoBarFill "Menu/hud/guage03full.tga"
   ObjectTemplate.AmmoBarSize 64
   ObjectTemplate.AmmoBarPosX 0
   ObjectTemplate.AmmoBarPosY -14
   ObjectTemplate.AmmoBarTextPosX -12
   ObjectTemplate.AmmoBarTextPosY -20
   ObjectTemplate.CrossHairType CHTIcon
   ObjectTemplate.HasMag 0
   ObjectTemplate.HasDynamicShadow 1
   ObjectTemplate.SoldierCameraPosition 0.06/-0.07/0.3
   ObjectTemplate.LoadSoundScript Sounds/Detonator.ssc
   ObjectTemplate.CreateSkeleton animations/Detonator.ske
   ObjectTemplate.UseSkeletonPartAsMain base
   ObjectTemplate.AddTemplate DetonatorLod


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