Jump to content

Need help with a Python Script


Dragten

Recommended Posts

EDIT: Problem is fixed.

 

 

  Reveal hidden contents

 

Edited by Dragten
Link to comment
Share on other sites

I tried to do some things on my own.

Copied and edited a part of da04bloodharvestvictimscript.psc . It is the script, used in the DA04 quest, for blood harvesting off elves.

 

Even though:

Scriptname aaDr_SCR_Ana_toolsPER extends ReferenceAlias

Is set on ReferenceAlias, just like the original (also tried ObjectReference), I keep getting following errors when complying:

 

  Quote

Starting 1 compile threads for 1 files...

Compiling "aaDr_SCR_Ana_toolsPER"...

c:\steam\steamapps\common\skyrim\Data\Scripts\Source\aaDr_SCR_Ana_toolsPER.psc(10,0): mismatched input 'Event' expecting FUNCTION

c:\steam\steamapps\common\skyrim\Data\Scripts\Source\aaDr_SCR_Ana_toolsPER.psc(0,0): error while attempting to read script aaDr_SCR_Ana_toolsPER: Object reference not set to an instance of an object.

No output generated for aaDr_SCR_Ana_toolsPER, compilation failed.

 

Batch compile of 1 files finished. 0 succeeded, 1 failed.

Failed on aaDr_SCR_Ana_toolsPER

 

Here is my code:

 

  Reveal hidden contents

 

 

And here is the original part of the code:

 

 

 

  Reveal hidden contents

 

 

What may be causing the error?

Edited by Dragten
Link to comment
Share on other sites

  On 2/26/2012 at 12:00 AM, Korodic said:

(10,0): mismatched input 'Event' expecting FUNCTION

 

you didnt use an endif, endevent or either endfunction where you should have. Anything you open, you need to close so the program knows to carry on.

 

 

From what I can see, endif was used.

 

 

But matters not, the problem was solved. But still, thank you for replying.

Link to comment
Share on other sites

  • Recently Browsing   0 members

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