Jump to content

Can't compile papyrus


genericc

Recommended Posts

Posted

Just what it says on the tin, I've knocked together a basic Hello World script but it refuses to compile. Does anyone know why?

 

 

Starting 1 compile threads for 1 files...
Compiling "HelloWorld"...
D:\Spel\SteamLibrary\steamapps\common\skyrim\Data\Scripts\Source\temp\HelloWorld.psc(3,32): extraneous input ')' expecting ID
No output generated for HelloWorld, compilation failed.

Batch compile of 1 files finished. 0 succeeded, 1 failed.
Failed on HelloWorld

 

 

 

 

Post edited for clarity.

Posted

 

 

extraneous input ')' expecting ID

 

Post the entire script.

 

 

Scriptname HelloWorld extends ObjectReference  

 

Event OnActivate(ObjectReference) akActionRef

Debug.MessageBox("Hello, World!")

EndEvent

Posted

 

 

 

extraneous input ')' expecting ID

 

Post the entire script.

 

 

Scriptname HelloWorld extends ObjectReference  

 

Event OnActivate(ObjectReference) akActionRef

Debug.MessageBox("Hello, World!")

EndEvent

 

Move the red ) to the end of akActionRef and try again.

Posted

 

Scriptname HelloWorld extends ObjectReference  

 

Event OnActivate(ObjectReference) akActionRef

Debug.MessageBox("Hello, World!")

EndEvent

 

Move the red ) to the end of akActionRef and try again.

 

 

Well would you look at that, once again I completely failed to follow instructions. Thank you for setting me straight.

 

Starting 1 compile threads for 1 files...

Compiling "HelloWorld"...

Starting assembly of HelloWorld

0 error(s), 0 warning(s)

Assembly succeeded

 

Compilation succeeded.

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

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