addWorkOnMaterial

addWorkOnMaterial <material id>

Allows you to set what id's the material will work on.

Example:

rem *** e_wdirtPanz ***
ObjectTemplate.create EffectBundle e_wdirtPanz
ObjectTemplate.saveInSeparateFile 1
rem -------------------------------------
ObjectTemplate.addTemplate Em_wGravel
ObjectTemplate.timeToLive CRD_NONE/1/0/0
ObjectTemplate.addTemplate Em_wGravelGround
ObjectTemplate.timeToLive CRD_NONE/1/0/0
ObjectTemplate.addTemplate Em_wGravelGround1
ObjectTemplate.timeToLive CRD_NONE/1/0/0
ObjectTemplate.addTemplate Em_wGravelGround2
ObjectTemplate.timeToLive CRD_NONE/1/0/0
rem -------------------------------------
ObjectTemplate.addWorkOnMaterial 2
ObjectTemplate.addWorkOnMaterial 3
ObjectTemplate.addWorkOnMaterial 4
ObjectTemplate.addWorkOnMaterial 8

Valid object types

EffectBundle