Hey im trying to make a game where in the beginning when creating your character you can get a set amount of points based on the difficulty level. It’s pretty much like what “Hero or Villain: Genesis” character creation system is like. So pretty much im asking do I have to manually go in for each choice and subtract the current number of overall points by the coat of the choice or is there a better way to do it.
I currently forgot the commands, but you create a variable for the points, and then subtract, go to the next choice and work with *ifs to check if you have enough points left
(sorry, I’m a bit out of the loop with the commands)
I’m not completely sure exactly what you’re asking for, but I threw together a template for how I’d do it:
*temp points 500
*label skill_choice
Current skills:
*if points = 500
None
*if skill_a
Skill A
*line_break
*if skill_b
Skill B
*line_break
What skills do you want?
You have ${points} points available.
*fake_choice
*if (not(skill_a)
*selectable_if (points >= 20) #Skill A (20)
*set skill_a true
*set points - 20
*if (not(skill_b)
*selectable_if (points >= 50) #Skill B (50)
*set skill_b true
*set points - 50
#Done
*goto final_choice
*goto skill_choice
*label final_choice
Current skills:
*if points = 500
None
*if skill_a
Skill A
*line_break
*if skill_b
Skill B
*line_break
Are you sure these are the skills you want?
*choice
#Yes
*goto story_continues
#No
*set points 500
*set skill_a false
*set skill_b false
*goto skill_choice
*label story_continues
Yes this is what I’m talking about. Thank you I’ve been going crazy trying to figure out how to make this work.
2 Likes