enderalse/source/scripts/_00e_playerhousingtutorial.psc

49 lines
1.0 KiB
Plaintext
Raw Normal View History

Scriptname _00E_PlayerhousingTutorial extends Quest
Message Property buildmodeTutorial auto
Message Property translationModeTutorial auto
Message Property manipulationModeTutorial auto
GlobalVariable Property _00E_DisableCraftingTutorials Auto
function ShowTutorial()
int button = buildmodeTutorial.show()
if button == 0
GotoState("")
else
GotoState("NoTutorial")
Endif
Endfunction
function onStartBuildmode()
If _00E_DisableCraftingTutorials.GetValueInt() == 0
ShowTutorial()
EndIf
Endfunction
function onTranslationMode()
Debug.Notification(translationModeTutorial.getName())
translationModeTutorial.show()
Endfunction
function onManipulationMode()
Debug.Notification(manipulationModeTutorial.getName())
manipulationModeTutorial.show()
Endfunction
STATE NoTutorial
function onStartBuildmode()
Endfunction
function onTranslationMode()
Debug.Notification(translationModeTutorial.getName())
Endfunction
function onManipulationMode()
Debug.Notification(manipulationModeTutorial.getName())
Endfunction
Endstate