• Hey Guest! Ever feel like entering a Game Jam, but the time limit is always too much pressure? We get it... You lead a hectic life and dedicating 3 whole days to make a game just doesn't work for you! So, why not enter the GMC SLOW JAM? Take your time! Kick back and make your game over 4 months! Interested? Then just click here!

Trouble with quest lines

S

Shizuky

Guest
Hello,
so I've been doing a quest line tutorial by Friendly Cosmonaut (
) and when she creates a variabile ds_quests for me it is just a local variabile (it is highlighted by yellow and her is blue). I don't know what I did wrong I re did the whole tutorial again and again, but no change.
The only thing I think is wrong is the ds_quests.

Here is hers ds_quests:


And here is mine:



and Here is the script (it is same as Friendly Cosmonaut's):


If anyone knows what's up let me please know.
 

TsukaYuriko

☄️
Forum Staff
Moderator
You're terminating the declaration of quest_array with a comma ( , ), which instructs the var statement to continue over to the next variable declaration and make it local as well.

Terminate it with a semicolon ( ; ).
 
S

Shizuky

Guest
You're terminating the declaration of quest_array with a comma ( , ), which instructs the var statement to continue over to the next variable declaration and make it local as well.

Terminate it with a semicolon ( ; ).
Thank you a lot!!!
 
Top