- Joined
- May 15, 2014
- Messages
- 324
- Reaction score
- 141
- First Language
- English
- Primarily Uses
- RMMV
Hi
I'm currently making a quest log script and am wondering how to set-up the following...
My Script:
Here's my screenshots of progress:


I'm currently making a quest log script and am wondering how to set-up the following...
- If Statements - Like..If [questid001] is complete, then activate this option of dialogue.
- Quest Info - ID, Quest Name, Description, Giver, and Location.
- Quest Start and End Commands - accept.questid001 or something similar.
- Icon for Quest - How to add an icon next to a Quest's name.
- Window Boxes - How to make more window boxes to fit the rest of the screen
My Script:
class MyCustomScene < Scene_Base#--------------------------------------------------------------------------# * Start Processing#--------------------------------------------------------------------------def startsuper()@my_window = Window_Help.new()@my_array = []@my_array[0] = "Quests"@my_window.set_text(@my_array[rand (1)])end#--------------------------------------------------------------------------# * Post-Start Processing#--------------------------------------------------------------------------def post_startsuper()end#--------------------------------------------------------------------------# * Frame Update#--------------------------------------------------------------------------def updatesuper()return_scene() if Input.trigger?
A)end#--------------------------------------------------------------------------# * Pre-Termination Processing#--------------------------------------------------------------------------def pre_terminateend#--------------------------------------------------------------------------# * Termination Processing#--------------------------------------------------------------------------def terminatesuper()@my_window.dispose()endend#==============================================================================# ** Window_MenuCommand#------------------------------------------------------------------------------# This command window appears on the menu screen.#==============================================================================class Window_MenuCommand < Window_Command#--------------------------------------------------------------------------# * For Adding Original Commands#--------------------------------------------------------------------------alias dp3_custscene_windowmenucommand_addorigcommand_023fj add_original_commands#--------------------------------------------------------------------------def add_original_commandsdp3_custscene_windowmenucommand_addorigcommand_023fj()add_command("Quest Log", :custscene, true)endend#==============================================================================# ** Scene_Menu#------------------------------------------------------------------------------# This class performs the menu screen processing.#==============================================================================class Scene_Menu < Scene_MenuBase#--------------------------------------------------------------------------# * Create Command Window#--------------------------------------------------------------------------alias dp3_custscene_scenemenu_createcommandwindow_023fj create_command_window#--------------------------------------------------------------------------def create_command_windowdp3_custscene_scenemenu_createcommandwindow_023fj()@command_window.set_handler
custscene, method
command_custscene))enddef command_customsceneSceneManager.call(MyCustomScene)endend


Last edited by a moderator:
