Usage:
ObjectTemplate.DetonateAltWeapon
boolean
Argument values:
argument 1: | 1; most commonly 1 |
Description: This property is used exclusively in Battlefield Vietnam.
Used in object types (and how often in each type): HandFireArms (3%)
Used in a total of 3 .con files: Objects.con
Parent directory of these .con files: vietnamObjects/HandWeapons
Example: (from vietnamObjects/HandWeapons/C4Detonator/Objects.con)
ObjectTemplate.Create HandFireArms C4Detonator
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 5
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.00/-0.05/0.3
ObjectTemplate.LoadSoundScript Sounds/C4Detonator.ssc
ObjectTemplate.CreateSkeleton animations/C4Detonator.ske
ObjectTemplate.UseSkeletonPartAsMain base
ObjectTemplate.AddTemplate C4DetonatorLod
Go to the ObjectTemplate properties list page, ObjectTemplate page, All Properties list, or Main scripting page.