Jump to content

Creation Kit Scripting Question


zenetx

Recommended Posts

Hi guys! Please, I need some advice.

 

I'm trying to do my first mod and I was doing well ... until now.

 

I did some scripting following this tutorial

 

and everything worked flawless. But now I am stuck with a stupid doubt.

 

I need to do a set quest stage after the game detect the player cast a spell, something like the Winterhold College entry test (but simpler)

 

So I did my script:

 

Scriptname DetectSpellCastScript extends Quest

Event OnSpellCast()
SetStage(20)
endEvent

 

And it compiles with no errors. The problem is: How do I attach it to a papyrus fragment??

 

I mean, it is not a function! How can I invoke it without a function?

 

Thanks in advance.

Link to comment
Share on other sites

  • Recently Browsing   0 members

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