UseAsBone Property

Usage:
   ObjectTemplate.UseAsBone x/y/z

Argument values:

argument 1:    0/-0.04/0, 0/-0.08/0, 0/-0.1/0, 0/-0.12/0, 0/-0.14/0, 0/-0.146/0, 0/-0.15/0, 0/-0.15/0.3, 0/-0.25/0, 0/-1.45/0.3, 0/0/0; most commonly 0/-0.15/0

Related properties: AddTemplate, Geometry, HasMobilePhysics, SetBoneOriginOffset

Used in object types (and how often in each type): AnimatedBundle (18%)

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

Parent directory of these .con files: objects/Vehicles

Example: (from objects/Vehicles/Land/Sexton/Objects.con)
   rem *** Sexton_TrackL ***
   ObjectTemplate.Create AnimatedBundle Sexton_TrackL
   ObjectTemplate.Geometry Sexton_TrackL_M1
   ObjectTemplate.HasMobilePhysics 1
   ObjectTemplate.CreateSkeleton animations/Sexton_TrackL_M1.ske
   rem ObjectTemplate.createSkeleton animations/ShermanTrackL.ske
   ObjectTemplate.SetAnimatedTextureSpeed -0.008/0
   rem -------------------------------------
   ObjectTemplate.AddTemplate SextonWheelLBig
   ObjectTemplate.SetPosition -1.05/0.721/2.18
   ObjectTemplate.AddTemplate SextonWheelL3Dummy
   ObjectTemplate.SetPosition -1.101/0.171/1.764
   ObjectTemplate.UseAsBone 0/-0.12/0
   ObjectTemplate.SetBoneOriginOffset 0/-0.5/0
   ObjectTemplate.AddTemplate SextonWheelL3
   ObjectTemplate.SetPosition -1.101/0.171/0.974
   ObjectTemplate.UseAsBone 0/-0.12/0
   ObjectTemplate.SetBoneOriginOffset 0/-0.5/0
   ObjectTemplate.AddTemplate SextonWheelL3Dummy
   ObjectTemplate.SetPosition -1.101/0.171/0.353
   ObjectTemplate.UseAsBone 0/-0.12/0
   ObjectTemplate.SetBoneOriginOffset 0/-0.5/0
   ObjectTemplate.AddTemplate SextonWheelL3DummySmoke
   ObjectTemplate.SetPosition -1.101/0.171/-0.465
   ObjectTemplate.UseAsBone 0/-0.12/0
   ObjectTemplate.SetBoneOriginOffset 0/-0.5/0
   ObjectTemplate.AddTemplate SextonWheelL3
   ObjectTemplate.SetPosition -1.101/0.171/-1.059
   ObjectTemplate.UseAsBone 0/-0.12/0
   ObjectTemplate.SetBoneOriginOffset 0/-0.5/0
   ObjectTemplate.AddTemplate SextonWheelL3Dummy
   ObjectTemplate.SetPosition -1.101/0.171/-1.876
   ObjectTemplate.UseAsBone 0/-0.12/0
   ObjectTemplate.SetBoneOriginOffset 0/-0.5/0
   ObjectTemplate.AddTemplate SextonWheelLBig
   ObjectTemplate.SetPosition -1.05/0.771/-2.498


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