MinDistanceUnderwaterSurface Property

Usage:
   ObjectTemplate.MinDistanceUnderwaterSurface number

Argument values:

argument 1:    range is 0 to 0.5; most commonly 0

Related properties: AddTemplate, MaxDistanceUnderwaterSurface, SaveInSeparateFile

Used in object types (and how often in each type): EffectBundle (8%)

Used in a total of 44 .con files: Effects.con

Parent directory of these .con files: objects/Effects

Example: (from objects/Effects/e_WaterRaftFront/Effects.con)
   rem *** e_WaterRaftFront ***
   ObjectTemplate.Create EffectBundle e_WaterRaftFront
   ObjectTemplate.SaveInSeparateFile 1
   ObjectTemplate.LoadSoundScript Sounds/e_WaterFront.ssc
   rem -------------------------------------
   ObjectTemplate.AddTemplate Em_WaterFrontRaft
   ObjectTemplate.SetRotation -179.999/0/0
   ObjectTemplate.AddTemplate Em_WaterFoamRaft
   ObjectTemplate.SetRotation -179.999/0/0
   ObjectTemplate.AddTemplate Em_WaterFrontRRaft
   ObjectTemplate.SetRotation -179.999/0/0
   ObjectTemplate.AddTemplate Em_WaterFoamRRaft
   ObjectTemplate.SetRotation -179.999/0/0
   ObjectTemplate.TimeToLive CRD_NONE/-1/0/0
   rem -------------------------------------
   ObjectTemplate.MinDistanceUnderwaterSurface 0
   ObjectTemplate.MaxDistanceUnderwaterSurface 20


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