Jump to content

Kmy Quest script


ArcaneSmith

Recommended Posts

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
Link to comment
Share on other sites

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

Link to comment
Share on other sites

  • Recently Browsing   0 members

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