Jump to content

Question on Quest Scripts


ozziefire

Recommended Posts

hmm... I am not 100% certain but i almost wanna say no... because when you use "begin gamemode" you are looking at only game-time (I think) and there are other terms associated with begin that deal with you while you are in you inventory.
Link to comment
Share on other sites

If you have a Begin Menumode block in the quest script, that section will run any time you are menu mode. You can have both types of blocks in a quest script. You can even narrow down the type of menu mode you want to deal with:

 

scn MYQuestscript

BEGIN GameMode
; do gamemode stuff
END

BEGIN MenuMode
if (MenuMode 1012) ;sleep/wait
	;Do stuff
endif

if (MenuMode 1002)	;Inventory
	;Do other stuff
endif
END

Link to comment
Share on other sites

To add on to above posts, regular quest scripts don't do anything while waiting/sleeping (unless using the MenuMode thing, but that is not really useful or required). An NPC with a dialogue package can wake you up if the package activated before you went to sleep.

 

GameDaysPassed variable is updated accordingly while you sleep/wait so use this in your quest scripts for checking wait time. Like wait 3 days for the next objective and such.

Link to comment
Share on other sites

  • Recently Browsing   0 members

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