I have a script with an activator but Onactivated event return an ObjectReference
if i use actor function with an ObjectReference it's don't work
Scriptname Firearrow extends ObjectReference Event OnActivate(ObjectReference MyActivator)if (Myactivator().GetEquippedItemType(0) == 7)debug.messagebox("Actor have a bow")endifEndEventI have this error
c:\program files (x86)\steam\steamapps\common\skyrim\Data\Scripts\Source\temp\Firearrow.psc(9,16): GetEquippedItemType is not a function or does not exist
And it existe a funtion for return the ObjectReference wiwh the script is attached?
If i put 2 or 3 activator on my map i want return ObjectReference of activator when it's actived
