SetRadioLanguage Property

Usage:
   ObjectTemplate.SetRadioLanguage name

Argument values:

argument 1:    "Canadian", "English", "French", "German", "Italian", "Japanese", "Russian", "UsEnglish"; most commonly "German"

Description: This property sets the default language for this soldier, i.e. what language he speaks in the game. The player can override this language by setting the standard language in the user options.

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

Parent directory of these .con files: objects/Soldiers

Example: (from objects/Soldiers/USSoldier/Objects.con)
   include ../Common/CommonSoldierData.inc
   rem Sound.addRunTimeDirectory Language USEnglish
   Game.AddLanguageRunTimeDirectory USEnglish
   include ../Common/Sounds/SoldierSound.inc
   ObjectTemplate.SetSoldierStandingIcon "Soldier/Icon_us_soldier_standing.tga"
   ObjectTemplate.SetSoldierCrouchIcon "Soldier/Icon_us_soldier_crouching.tga"
   ObjectTemplate.SetSoldierProneIcon "Soldier/Icon_us_soldier_lying.tga"
   ObjectTemplate.SetMinimapIcon "flag_us.tga"
   ObjectTemplate.SetControlPointIcon "conp_us.tga"
   ObjectTemplate.SetTicketIcon "flag_ticket_us.tga"
   ObjectTemplate.SetTeamFlagIcon "Icon_flag_us.tga"
   ObjectTemplate.SetRadioLanguage "UsEnglish"
   ObjectTemplate.AddTemplate USSoldierComplexHead
   ObjectTemplate.SetRandomGeometries 3
   ObjectTemplate.SetIsFirstPersonPart 0
   ObjectTemplate.SetLodValue 0.01
   ObjectTemplate.BindToSkeletonPart Bip01_Spine3 3
   ObjectTemplate.AddTemplate USSoldierHead
   ObjectTemplate.SetIsFirstPersonPart 0
   ObjectTemplate.SetLodValue -0.01
   ObjectTemplate.AddTemplate USSoldier3PBody
   ObjectTemplate.SetIsFirstPersonPart 0
   ObjectTemplate.AddTemplate USSoldier1PBody
   ObjectTemplate.SetIsFirstPersonPart 1
   ObjectTemplate.AddTemplate USSoldierRightHand
   ObjectTemplate.SetIsFirstPersonPart 0
   ObjectTemplate.SetLodValue 0.03
   ObjectTemplate.AddTemplate USSoldierLeftHand
   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.