SetTicketIcon Property

Usage:
   ObjectTemplate.SetTicketIcon image

Argument values:

argument 1:    "flag_ticket_brit.tga", "flag_ticket_can.tga", "flag_ticket_fre.tga", "flag_ticket_ger.tga", "flag_ticket_it.tga", "flag_ticket_jp.tga", "flag_ticket_rus.tga", "flag_ticket_us.tga"

Description: This property sets the icon for the little flag next to the ticket counter on the minimap.

See the HUD Icon Tutorial for details.

Related properties: SetControlPointIcon, SetMinimapIcon

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

Parent directory of these .con files: objects/Soldiers

Example: (from objects/Soldiers/GermanSoldier/Objects.con)
   include ../Common/CommonSoldierData.inc
   rem Sound.addRunTimeDirectory Language German
   Game.AddLanguageRunTimeDirectory German
   include ../Common/Sounds/SoldierSound.inc
   ObjectTemplate.SetSoldierStandingIcon "Soldier/Icon_ger_soldier_standing.tga"
   ObjectTemplate.SetSoldierCrouchIcon "Soldier/Icon_ger_soldier_crouching.tga"
   ObjectTemplate.SetSoldierProneIcon "Soldier/Icon_ger_soldier_lying.tga"
   ObjectTemplate.SetMinimapIcon "flag_ger.tga"
   ObjectTemplate.SetControlPointIcon "conp_ger.tga"
   ObjectTemplate.SetTicketIcon "flag_ticket_ger.tga"
   ObjectTemplate.SetTeamFlagIcon "Icon_flag_ger.tga"
   ObjectTemplate.SetRadioLanguage "German"
   ObjectTemplate.AddTemplate GerSoldierComplexHead
   ObjectTemplate.SetRandomGeometries 3
   ObjectTemplate.SetIsFirstPersonPart 0
   ObjectTemplate.SetLodValue 0.01
   ObjectTemplate.BindToSkeletonPart Bip01_Spine3 3
   ObjectTemplate.AddTemplate GerSoldierHead
   ObjectTemplate.SetIsFirstPersonPart 0
   ObjectTemplate.SetLodValue -0.01
   ObjectTemplate.AddTemplate GerSoldier3PBody
   ObjectTemplate.SetIsFirstPersonPart 0
   ObjectTemplate.AddTemplate GerSoldier1PBody
   ObjectTemplate.SetIsFirstPersonPart 1
   ObjectTemplate.AddTemplate GerSoldierRightHand
   ObjectTemplate.SetIsFirstPersonPart 0
   ObjectTemplate.SetLodValue 0.03
   ObjectTemplate.AddTemplate GerSoldierLeftHand
   ObjectTemplate.SetIsFirstPersonPart 0
   ObjectTemplate.SetLodValue 0.03
   ObjectTemplate.AddTemplate 1PGerSoldierRightHand
   ObjectTemplate.SetIsFirstPersonPart 1
   ObjectTemplate.SetLodValue 0.03
   ObjectTemplate.AddTemplate 1PGerSoldierLeftHand
   ObjectTemplate.SetIsFirstPersonPart 1
   ObjectTemplate.SetLodValue 0.03


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