Jump to content

Can't get this simple Custom Papyrus Script to Run


Lumpen1

Recommended Posts

Hey everybody, I'm trying to get this simple papyrus script to run, it is attached to a door:

 

Scriptname MyPlugin:PluginCaller extends ObjectReference

Event OnOpen(ObjectReference akActionRef)
if (akActionRef == Game.GetPlayer())
Debug.MessageBox("Hello, Player!");
else
Debug.MessageBox("Hello, World!");
endIf
EndEvent

But for some reason the it doesnt work. I get these logs:

[10/02/2021 - 11:09:11PM] Cannot open store for class "MyPlugin:PluginCaller", missing file?
[10/02/2021 - 11:09:11PM] error: Unable to bind script MyPlugin:PluginCaller to (0D001732) because their base types do not match
[10/02/2021 - 11:09:11PM] error: Unable to bind script MyPlugin:PluginCaller to (001E7DA3) because their base types do not match
Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...