Jump to content

CK Useful script for quest mods


Deleted147363User

Recommended Posts

Some useful scripts that I've been using to build my quest mod. You might find some time savers here.

 

; Update journal entry on entering a dungeon

; place this on a door script 
; property name is LevelEnter and value is the name of your questID
Event onLoad()
if (LevelEnter.GetStage() < 20)
	LevelEnter.SetStage(20)
endif
EndEvent

; Activated on the final quest stage
setObjectiveCompleted(40)

; Give the reward and take the item
; property name set as Gold001 and value set to Gold001 for simplicity
Game.GetPlayer().AddItem(Gold001, Alias_MalakStaff.GetReference().GetGoldValue())
Game.GetPlayer().RemoveItem(Alias_MalakStaff.GetReference())

Edited by Guest
Link to comment
Share on other sites

  • Recently Browsing   0 members

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