Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(2 edits) (+1)

Hi! Can you please explain a little more how to use the plug-in? A little new to this. I'm trying to create a level where 4 consecutive events happen and each time one of those events happens, I want the engine to remember that and randomly select among the other 3, and then 2, and then last event. I feel like I have the code right but it's the shuffle that's setting my variable back to 0 no matter what. 

(2 edits)

Initialize it with 4 , Load 1,2,3,4 into each slot, shuffle deck. Have another variable(let’s call it x) increment x by one, z= read index x, switch on z to decide which even to do,increment x again  x = read index x (now the second in deck) , check switch again