MaxDistanceUnderwaterSurface Property

Usage:
   ObjectTemplate.MaxDistanceUnderwaterSurface number

Argument values:

argument 1:    range is 0.01 to 50; most commonly 20

Related properties: AddTemplate, MinDistanceUnderwaterSurface, 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_WaterFrontBig/Effects.con)
   rem *** e_WaterFrontBig ***
   ObjectTemplate.Create EffectBundle e_WaterFrontBig
   ObjectTemplate.SaveInSeparateFile 1
   ObjectTemplate.LoadSoundScript Sounds/e_waterfrontbig.ssc
   rem -------------------------------------
   ObjectTemplate.AddTemplate Em_WaterFrontBig
   ObjectTemplate.SetRotation -179.999/0/0
   ObjectTemplate.AddTemplate Em_WaterFoam
   ObjectTemplate.SetRotation -179.999/0/0
   ObjectTemplate.AddTemplate Em_WaterFoamR
   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.