How can I blank or remove choices based on stats


#1

Hello everyone,

My apologies if this has already been covered in a previous post, but I have not had much luck in finding an answer to my question. In part 1 of The Lost Heir there were times when a choice was blanked out due to insufficient stats. I would like to use this feature in my own project. Would you be able to help me find out how to blank out choices or remove them entirely if certain stats are not fulfilled? Specifically True/False stats?

Thank you so much for any help you can provide!


#2

*if and *selectable_if.


#3

Use *if when you want a choice to only appear when a check is met and *selectable_if if you want it just blacked out.

*choice
    #This choice will always be there.
        *goto next_scene
    *if (intel >40)
        #This choice will only appear if "Intel" is greater than 40.
            *goto next_scene
    *selectable_if (pistol)
        #This choice will always appear but will only be selectable if "pistol" is true.
            *goto next_scene

Hope this helps.