Zorkaz Posted July 22, 2019 Share Posted July 22, 2019 Does anyone know how to apply explosion damage or a outgoing projectile to a melee weapon?It's for spawning items when the enemy gets hit Link to comment Share on other sites More sharing options...
DieFeM Posted July 22, 2019 Share Posted July 22, 2019 Weapon + Enchantment -> Magic effect (Script, Fire and Forget, Contact) -> Script (Add Property for base object):Event OnEffectStart(Actor akTarget, Actor akCaster) akCaster.PlaceAtMe(BaseObject) ;or akTarget.PlaceAtMe(BaseObject)EndEvent Link to comment Share on other sites More sharing options...
Zorkaz Posted July 23, 2019 Author Share Posted July 23, 2019 Ah thanks Link to comment Share on other sites More sharing options...
Zorkaz Posted July 23, 2019 Author Share Posted July 23, 2019 Btw here is the script just in case someone wants to do the same Scriptname BGMScriptBottlecap extends ActiveMagicEffect ConstMiscObject Property Caps001 Auto ConstEvent OnEffectStart(Actor akTarget, Actor akCaster) akCaster.placeatme(Caps001)EndEvent Link to comment Share on other sites More sharing options...
Recommended Posts