SetKitTeam Property

Usage:
   ObjectTemplate.SetKitTeam number

Argument values:

argument 1:    range is 1 to 2; most commonly 1

Description: This property sets what team ID the kit is: 1 is Axis, 2 is Allies.

Related properties: AddTemplate, AddWeaponIcon, Geometry, NetworkableInfo, SetHasCollisionPhysics, SetHealthBarFullIcon, SetHealthBarIcon, SetKitActiveName, SetKitIcon, SetKitName

Used in object types (and how often in each type): Kit (41%)

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

Parent directory of these .con files: objects/Items

Example: (from objects/Items/JapKit/Assault/Objects.con)
   ObjectTemplate.Create Kit Jap_Assault
   ObjectTemplate.SetType Assault
   ObjectTemplate.SetKitTeam 1
   ObjectTemplate.Geometry Kit_Japanese_Assault
   ObjectTemplate.SetHasCollisionPhysics 1
   ObjectTemplate.NetworkableInfo KitInfo
   ObjectTemplate.AddTemplate Jap_Helmet
   ObjectTemplate.AddTemplate Jap_hip_pack
   ObjectTemplate.SetHealthBarIcon "Ingame/Healthbar_empty_assault_64x64.tga"
   ObjectTemplate.SetHealthBarFullIcon "Ingame/Healthbar_full_assault_64x64.tga"
   ObjectTemplate.AddWeaponIcon "Weapon/Icon_axisKnife.tga"
   ObjectTemplate.AddWeaponIcon "Weapon/Icon_walter.tga"
   ObjectTemplate.AddWeaponIcon "Weapon/Icon_type99.tga"
   ObjectTemplate.AddWeaponIcon "Weapon/Icon_grenadeaxis.tga"
   ObjectTemplate.SetKitIcon 1 "kits/Icon_assault_jap_selected.tga"
   ObjectTemplate.SetKitName 1 "RESPAWN_ASSAULT"
   ObjectTemplate.SetKitActiveName 1 "RESPAWN_ACTIVE_ASSAULT"
   ObjectTemplate.AddTemplate Type99
   ObjectTemplate.AddTemplate WalterP38
   ObjectTemplate.AddTemplate KnifeAxis
   ObjectTemplate.AddTemplate GrenadeAxis
   ObjectTemplate.AiTemplate Assault


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