- Joined
- Aug 19, 2013
- Messages
- 263
- Reaction score
- 218
- First Language
- English
- Primarily Uses
- RMVXA
I just got Modern Algebra's quest journal script to use in my RPG for VXA. I have very little experience with scripts except with plug and play ones. I am having trouble getting my first quest for the journal to work.
I made a new quest and put it in a new script page, but when I run the game I get this error:
Script 'Quest 1' line 1: SyntaxError occured.
unexpected keyword_when
when 1 # Quest 1
Here is the script in question:
I made a new quest and put it in a new script page, but when I run the game I get this error:
Script 'Quest 1' line 1: SyntaxError occured.
unexpected keyword_when
when 1 # Quest 1
Here is the script in question:
Code:
when 1 # Quest 1 q[:name] = "Spellbook for Rachel" q[:icon_index] = 0 q[:level] = 1 q[:description] = "Get the red spellbook from Drew" q[:objectives][0] = "Talk to Rachel" q[:objectives][1] = "Talk to Drew" q[:objectives][2] = "Get Water for Drew from the Arcaina Town Inn" q[:obkectives][3] = "Take spellbook to Rachel" q[:prime_objectives] = [0, 1, 3] q[:client] = "Rachel" q[:location] = "Arcaina Town Mage Acadamy" q[:rewards] = [ [:exp, 50], [:item, 5,1], ] q[:layout] = false
Last edited by a moderator:

