Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

How to use variables in conditionals

A topic by crystal.williams.brown created Sep 04, 2022 Views: 98 Replies: 1
Viewing posts 1 to 2
Submitted

I want the player to collect certain items that will change which diversions they are sent to when they reach a knot. If they have and item when they reach a certain knot they will be sent to a diversion where they can use that item. I haven't been able to find a way to set this up in the inky editor. I have the variables declared and I reset their value when the object is collected but I can't get the object to trigger a diversion when reaching the knot. I'm not sure if I'm using the right wording here. I'm hoping to get this figured out today because without it my game is broken.

Submitted

Okay, I think I figured it out. Instead of setting the variables to true or false I set them to divergent urls and then changed the url once the object was created. Luckily I can make due with this but it would case issues if I needed the object to be using for more than one scene.