The magic effect is assigned to an >Enchantment.
The enchantment is assigned to an >Explosion.
When the player pulls a lever, any 'dead bodies' in the area of the explosion are looted and then deleted. (using a placeatme of the explosion object on an XMarker. The script will then run on objects in the explosion range.)
This works perfect for dead bodies.
Does anyone know how I would go about checking if the object is a 'dropped' weapon? Or if it will even momentarily run on a weapon?
Scriptname LevelersArenaDeathScript extends activemagiceffect ObjectReference Property LevelersArenaChestREF Auto Event OnEffectStart(Actor akTarget, Actor akCaster) if akTarget.IsDead() akTarget.RemoveAllItems(akTransferTo = LevelersArenaChestREF) akTarget.Delete() endifendEvent




