I've made a script to make an activator open a container when it is activated, but I get an error telling me that "Activate is not a function or does not exist". What is the issue?
Here is the code:
I wouldn't consider myself any good at papyrus, but I understand basic scripting.
Scriptname StorageFlySCRIPT extends ObjectReference
Container Property FlyStorage Auto
Event OnActivate(ObjectReference akActionRef)
if (akActionRef == game.GetPlayer())
Self.SplineTranslateToRef(game.GetPlayer(), 10.0, 50.0, 100)