Closed Michael-wigontherun closed 1 year ago
I can't reproduce the compiler errors you're getting here.
OnBeginState
and OnEndState
here are compiler generated and are attached to all scripts when compiled. In my testing, it doesn't matter if I label these Function or Event, they will be compiled regardless.OnHit
on ObjectReference
), if I override that in my script and label it Function
, it will fail to compile if it's not labelled as an Event.We may be using different compilers, or there's something about your setup that's causing this. Can you ping me on the Skyrim Mods discord so we can diagnose this further? @nikitalita
What this decompiles FISSFactory into:
What the original Champollion decompiles into:
The original Champollion decompiles it into its original source code, minus comments. the capitalization isn't a problem. I have a long command line for Papyrus Compiler because its automated in ESLify Everything.
Changing "Event" and "EndEvent" to "Function" and "EndFunction" fixes the issue but its necessary in all of the scripts
Skyrim just uses the function identifier instead of Event for events.
I am hoping to switch ESLify Everything to using this instead of the original Champollion.