Det. Bart Lasiter Posted April 26, 2005 Posted April 26, 2005 Does anybody know what kind of VFX can be applied to "DestroyObject(oTarget)" script command?
Darth333 Posted April 27, 2005 Posted April 27, 2005 Just about anything. Just make sure you apply the visual effect before destroying the object: if the object odes not exist anymore you can't apply any effect. Use the delay command function for this. Something like: void main() { object oTarget=GetObjectByTag("d3_cake"); effect eMorph=EffectVisualEffect(1046); ApplyEffectToObject(DURATION_TYPE_TEMPORARY, eMorph, oTarget, 2.5); DelayCommand(0.5, DestroyObject(oTarget)); }
Det. Bart Lasiter Posted April 27, 2005 Author Posted April 27, 2005 Thanks, after looking at that script I saw that it was a scripting error on my part.
tk102 Posted April 27, 2005 Posted April 27, 2005 Just a side note: visual effects cannot be applied to OBJECT_TYPE_ITEM. Not that you asked.
Darth333 Posted April 27, 2005 Posted April 27, 2005 Originally posted by tk102 Just a side note: visual effects cannot be applied to OBJECT_TYPE_ITEM. Not that you asked. Spawn an invisible creature like in my floating lightsaber mod and problem is solved
tk102 Posted April 27, 2005 Posted April 27, 2005 Was thinking more along the lines of making an object glow like it had a shield...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.