ZippyDSMlee Posted January 15, 2014 Share Posted January 15, 2014 (edited) Now that I have critical hit doing an explosion I'd like to apply a disintegration effect to when something is killed either by the hammer or the explosions shock damage. Is there a way to turn those killed to dust? Here's the alien disintegration script ScriptName AlienDisintegrationEffectScript Float Timer Short DoOnce Short IsPile Begin ScriptEffectStart SetCriticalStage DisintegrateStart PMS AlienCritGlowFXShader PMS effectAlienDisintegration Set Timer to 1.8 Set DoOnce to 0 Set IsPile to 0 End Begin ScriptEffectUpdate If DoOnce == 0 If IsPile == 0 If Timer <= 0.5 AttachAshPile Set IsPile to 1 EndIf EndIf If Timer <= 0 SetCriticalStage DisintegrateEnd SMS AlienCritGlowFXShader SMS effectAlienDisintegration Set DoOnce to 1 EndIf Set Timer to (Timer - GetSecondsPassed) EndIf End All the disintegration effects will kinda work when you use them not on death but the actor is not fully turned to ash they are just turn a translucent color. ---------------------Oh wait I forgot to put the duration in...now it works all the time making actors invisible....oy vay invisible deathclaws LOL Let me try fooling with the functions. Edited January 15, 2014 by ZippyDSMlee Link to comment Share on other sites More sharing options...
Recommended Posts