/[skyui_scripts]/branch/skyui_510/Source/ski_questbase.psc
ViewVC logotype

Contents of /branch/skyui_510/Source/ski_questbase.psc

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3 - (show annotations) (download)
Sat Aug 12 15:05:05 2017 UTC (23 months, 1 week ago) by william
File size: 1511 byte(s)
commit scripts for skyui 5.1
1 scriptname SKI_QuestBase extends Quest hidden
2
3 ;##################################################################################################
4 ; API Version: 1
5 ;##################################################################################################
6 ;
7 ; Base script for SkyUI quest scripts.
8 ;
9 ; This file contains the public interface of SKI_QuestBase so you're able to extend it.
10 ;
11 ; DO NOT MODIFY THIS SCRIPT!
12 ; DO NOT RECOMPILE THIS SCRIPT!
13 ;
14 ;##################################################################################################
15
16 event OnInit()
17 endEvent
18
19 ; -------------------------------------------------------------------------------------------------
20 ; Version Tracking
21 ;
22 ; Quest implements
23 ; GetVersion, to return the static version number
24 ; OnVersionUpdate to handle the updating
25 ; Update process is triggered by calling CheckVersion()
26
27 int property CurrentVersion auto hidden
28
29 function CheckVersion()
30 Guard()
31 endFunction
32
33 int function GetVersion()
34 Guard()
35 endFunction
36
37 event OnVersionUpdate(int a_version)
38 Guard()
39 endEvent
40
41
42 ; -------------------------------------------------------------------------------------------------
43 ; Reload Events
44 ;
45 ; Helper to add reload event to quest script.
46 ; 1. Create quest
47 ; 2. Add player alias to quest
48 ; 3. Attach SKI_PlayerLoadGameAlias to player alias
49
50 event OnGameReload()
51 endEvent
52
53 function Guard()
54 Debug.MessageBox("SKI_QuestBase: Don't recompile this script!")
55 endFunction

  ViewVC Help
Powered by ViewVC 1.1.22