• 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!

A button to reroll stats

D

Divecko

Guest
Howdy, so i already have the button created, it's just the getting it to work thats the kicker. so I have a set of stats that are randomly generated, but i want the player to be able to reroll the stats if they are not happy with them. I figure i have use the repeat function or some variant

I've tried:
repeat(instance_activate_object(obj_text1)){
}
but that didnt work.

would repeat(instance_activate_all()) work better?
 

NightFrost

Member
You should put the stat rolling code into a script, then call the script in character creation and the reroll button.
 
Top