Tutorial help
flesh420
25 Jan 2015, 06:41This isn't the first time this has happened while I'm following the tutorial. I did everything exactly the same on this page: http://docs.textadventures.co.uk/quest/ ... ripts.html. But when I go to see if the Turns value is updated by doing something in the game I get this: "Error running script: Error compiling expression 'player.turns + 1': ArithmeticElement: Operation 'Add' is not defined for types 'Object' and 'Int32'."
Could someone tell me what I'm doing wrong please? There's nothing I've done different from the tutorial that I can see.
Could someone tell me what I'm doing wrong please? There's nothing I've done different from the tutorial that I can see.
flesh420
25 Jan 2015, 06:49Never mind I got it. Lol sorry. Delete this.