Jump to content

Recommended Posts

Posted (edited)

What is this item in the quest stage tab for? And how is it different to link the script fragment to a kmy script and link it to none? I haven't found anything on it and i'm really curious.

 

Edit: Got it =P

Edited by ArcaneSmith
Posted

It's the object of the main script attached to your quest.

Basically the CK automatically does the fiddly casting for you...

 

;Don't need to do this as CK does it for you
CurrentQuestScrName kmyQuest = (self As Quest) As CurrentQuestScrName

 

So you can access the properties and functions within your main script easily...

 

kmyQuest.MainScrProp = 1
res = kmyQuest.MainScrFunc()
val = kmyQuest.MainScrProp

  • Recently Browsing   0 members

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