SeatAnimationUpperBody Property

Usage:
   ObjectTemplate.SeatAnimationUpperBody name

Argument values:

argument 1:    Ub_PassengerInHanomag, Ub_PassengerInKubelWagen, Ub_PassengerInKubelwagen, Ub_PassengerInM3GMC, Ub_PassengerInM3a1, Ub_PassengerInWilly; most commonly Ub_PassengerInHanomag

Description: For jeeps, APCs, rafts, and the C-47 (or any other vehicle where there are passengers not interacting with objects in the vehicle). Sets the animation for a vehicle position, namely how the upper body is animated. These animation states are defined in Animations/AnimationStatesVehicle.con but SeatAnimationUpperBody will accept any animation state of an upper body, so you could use an animation state for the player with a gun, also e.g. Ub_IdleThompson1, which will give you a player sitting in the car with his hands in position to hold a gun. (These other animation states are defined in the various other con files in the animations directory.)

Related properties: Grip, SeatAnimationLowerBody, SeatFlags

Used in object types (and how often in each type): SeatObject (15%)

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

Parent directories of these .con files: objects/Vehicles, Bf1942/Levels

Example: (from objects/Vehicles/Land/R75/Objects.con)
   rem *** R75Seat ***
   ObjectTemplate.Create SeatObject R75Seat
   ObjectTemplate.SeatFlags c_SeatShowFullBodySoldier
   ObjectTemplate.SeatFlags c_SeatIsOutside
   ObjectTemplate.SeatAnimationUpperBody Ub_PassengerInHanomag


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