Usage:
ObjectTemplate.SetSoldierExitLocation
x/y/z x/y/z
Argument values:
argument 1: | -0.1/11/-29.9, -0.2/7.5/20, -0.3/0.3/-1.5, -0.5/0/-0.8, -0.5/0/3.9, -0.5/1/-3.999, -0.65/0.95/2.7, -0.65/0.95/4.5, -0.693/4.16/1.833, -0.694/4.36/-1.133, -1.399/-1.299/5.05, -1.5/0.3/-1.5, -1.5/0.75/-0.8, ... |
argument 2: | -180/0/0, -90/0/0, 0/0/0, 120/0/0, 125/0/0, 170/0/0, 180/0/0, 190/0/0, 210/0/0, 270/0/0, 60/0/0, 90/0/0; most commonly 0/0/0 |
Description: This property defines the location and rotation where a soldier appears when he exits the vehicle, relative to the center of the PlayerControlObject.
Related properties: AddTemplate
Used in object types (and how often in each type): PlayerControlObject (92%)
Used in a total of 125 .con files: Objects.con
Parent directories of these .con files: objects/Vehicles, objects/Stationary_Weapons, Bf1942/Levels
Example: (from objects/Vehicles/Land/Willy/Objects.con)
rem *** Willy ***
ObjectTemplate.Create PlayerControlObject Willy
ObjectTemplate.NameTagOffset -0.3/-0.2/0
ObjectTemplate.SetNetworkableInfo WillyBodyInfo
ObjectTemplate.SaveInSeparateFile 1
ObjectTemplate.CullRadiusScale 5
ObjectTemplate.HasMobilePhysics 1
ObjectTemplate.HasDynamicShadow 1
ObjectTemplate.ExplosionRadius 8
ObjectTemplate.ExplosionDamage 5
ObjectTemplate.DamageFromWater 1
ObjectTemplate.Drag 1.5
ObjectTemplate.Mass 2500
ObjectTemplate.HasCollisionPhysics 1
ObjectTemplate.HasResponsePhysics 1
ObjectTemplate.HasArmor 1
ObjectTemplate.SpeedMod 1
ObjectTemplate.ExitTimer 0.75
ObjectTemplate.Hitpoints 50
ObjectTemplate.Maxhitpoints 50
ObjectTemplate.Material 45
ObjectTemplate.CriticalDamage 6
ObjectTemplate.HpLostWhileCriticalDamage 2
ObjectTemplate.ExplosionForceMod 20
ObjectTemplate.HpLostWhileUpSideDown 5
ObjectTemplate.HpLostWhileDamageFromWater 5
ObjectTemplate.AddArmorEffect 30 e_WillyDamage 0/1.7/0
ObjectTemplate.AddArmorEffect 6 e_WillyFire 0/0.5/0.8
ObjectTemplate.AddArmorEffect 0 e_scrapmetal_willy 0/0/0
ObjectTemplate.AddArmorEffect 0 e_ExplGas 0/1.2/0
ObjectTemplate.AddArmorEffect -1 WaterWaterExplosion 0/0/0
ObjectTemplate.AiTemplate Willy
rem -------------------------------------
ObjectTemplate.AddTemplate lodWilly
rem -------------------------------------
ObjectTemplate.SetSoldierExitLocation -1.5/0/-0.8 0/0/0
ObjectTemplate.GUIIndex 26
ObjectTemplate.SetVehicleIcon "Vehicle/Icon_willy.tga"
ObjectTemplate.SetVehicleIconPos 40/79
ObjectTemplate.SetPrimaryAmmoBar ABNone
ObjectTemplate.SetCrossHairType CHTNone
ObjectTemplate.SetVehicleCategory VCLand
ObjectTemplate.SetVehicleType VTScoutCar
ObjectTemplate.SetToolTipType TTScoutCar
ObjectTemplate.SetMinimapIcon "Minimap/minimap_icon_common_16x16.tga"
ObjectTemplate.HasRestrictedExit 1
Go to the ObjectTemplate properties list page, ObjectTemplate page, All Properties list, or Main scripting page.