AddWorkOnMaterial Property

Usage:
   ObjectTemplate.AddWorkOnMaterial number

Argument values:

argument 1:    range is 1 to 15; most commonly 2, 3, 4, 8

Description: For effects, this sets what ground Material IDs (1-15) the effect will work on.

Related properties: AddTemplate, SaveInSeparateFile

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

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

Parent directory of these .con files: objects/Effects

Example: (from objects/Effects/e_wdustwheelFL/Effects.con)
   rem *** e_wdustwheelFL ***
   ObjectTemplate.Create EffectBundle e_wdustwheelFL
   ObjectTemplate.SaveInSeparateFile 1
   rem -------------------------------------
   ObjectTemplate.AddTemplate Em_wdustwheelFL
   ObjectTemplate.TimeToLive CRD_NONE/-1/0/0
   rem -------------------------------------
   ObjectTemplate.AddWorkOnMaterial 13
   ObjectTemplate.AddWorkOnMaterial 10


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