SetControlPointIcon Property

Usage:
   ObjectTemplate.SetControlPointIcon image

Argument values:

argument 1:    "conp_brit.tga", "conp_can.tga", "conp_fre.tga", "conp_ger.tga", "conp_it.tga", "conp_jp.tga", "conp_rus.tga", "conp_us.tga"

Description: This property defines what flag icon is used on the minimap when a soldier's side controls a flag.

See the HUD Icon Tutorial for details.

Related properties: SetMinimapIcon, SetTicketIcon

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

Parent directory of these .con files: objects/Soldiers

Example: (from objects/Soldiers/FrenchSoldier/Objects.con)
   include ../Common/CommonSoldierData.inc
   rem Sound.addRunTimeDirectory Language English
   Game.AddLanguageRunTimeDirectory French
   include ../Common/Sounds/SoldierSound.inc
   ObjectTemplate.SetSoldierStandingIcon "Soldier/Icon_fre_soldier_standing.tga"
   ObjectTemplate.SetSoldierCrouchIcon "Soldier/Icon_fre_soldier_crouching.tga"
   ObjectTemplate.SetSoldierProneIcon "Soldier/Icon_fre_soldier_lying.tga"
   ObjectTemplate.SetMinimapIcon "flag_fre.tga"
   ObjectTemplate.SetControlPointIcon "conp_fre.tga"
   ObjectTemplate.SetTicketIcon "flag_ticket_fre.tga"
   ObjectTemplate.SetTeamFlagIcon "Icon_flag_fre.tga"
   ObjectTemplate.SetRadioLanguage "French"
   ObjectTemplate.AddTemplate FrSoldierComplexHead
   ObjectTemplate.SetRandomGeometries 3
   ObjectTemplate.SetIsFirstPersonPart 0
   ObjectTemplate.SetLodValue 0.01
   ObjectTemplate.BindToSkeletonPart Bip01_Spine3 3
   ObjectTemplate.AddTemplate FrSoldierHead
   ObjectTemplate.SetIsFirstPersonPart 0
   ObjectTemplate.SetLodValue -0.01
   ObjectTemplate.AddTemplate FrSoldier3PBody
   ObjectTemplate.SetIsFirstPersonPart 0
   ObjectTemplate.AddTemplate FrSoldier1PBody
   ObjectTemplate.SetIsFirstPersonPart 1
   ObjectTemplate.AddTemplate FrSoldierRightHand
   ObjectTemplate.SetIsFirstPersonPart 0
   ObjectTemplate.SetLodValue 0.03
   ObjectTemplate.AddTemplate FrSoldierLeftHand
   ObjectTemplate.SetIsFirstPersonPart 0
   ObjectTemplate.SetLodValue 0.03
   ObjectTemplate.AddTemplate 1PUSSoldierRightHand
   ObjectTemplate.SetIsFirstPersonPart 1
   ObjectTemplate.SetLodValue 0.03
   ObjectTemplate.AddTemplate 1PUSSoldierLeftHand
   ObjectTemplate.SetIsFirstPersonPart 1
   ObjectTemplate.SetLodValue 0.03


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