About
News
Tutorials
Tools
Tools Guide
Scripting
Forums
Contact
addChild
addChile <int>
addChild allows an effect to be linked to a weapon as a child. Usually this is used for handweapons and firearms for muzzle flashes.
Example:
rem *** Em_MuzzPanz_Flare ***
ObjectTemplate.
create
Emitter
Em_MuzzPanz_Flare
ObjectTemplate.
template
Fx_MuzzPanz_Flare
ObjectTemplate.
addEmitterSpeed
1
ObjectTemplate.
emitterSpeedScale
1
ObjectTemplate.
lodDistance
800
ObjectTemplate.
timeToLive
CRD_NONE/0.1/0/0
ObjectTemplate.
intensity
CRD_NONE/120/0/0
ObjectTemplate.
positionalSpeedInDof
CRD_UNIFORM/-5/0/0
ObjectTemplate.
startRotation
CRD_NONE/1/0/0
ObjectTemplate.
addChild
1
Valid object types
Emitter