I'm trying to make an cube trigger area that if you are inside, your loose health (like the nocturnal quest)
here the code
Scriptname mannySucchiavita extends ObjectReference Int Property howMany = 1 Auto Light Property theTorch AutoEvent OnTrigger(ObjectReference akActionRef) If akActionRef == Game.GetPlayer() if (Game.GetPlayer().IsEquipped(theTorch)) Game.GetPlayer().DamageActorValue("health", howMany) endIfendIfEndEventI guarantee that the event still works because I've inserted a debug.notification before. The matter is the "if (Game.GetPlayer().IsEquipped(theTorch))".
Does not works....
Can you help me?
Thank you.
