Hello. The noob coding thread appears to be closed…
anyway, I’m getting an error and cannot work out what is going wrong. I get the following error:
“Non-existant command '‘selectable_if’”
when camp_prison & camp_medic are both set to 1. If either is set to 0 then I do not get the issue. Basically I want the choice to be greyed out once the variables camp_prison & camp_medic are both set to 1. The choice works fine before both variables are set to 1.
Could anyone shed some light, this is one fragment of a larger choice tree.
*selectable_if ((camp_prison = 0) or (camp_medic = 0)) #Wander aimlessly around the camp.
*rand camp_enq 1 100
You wander aimlessly around the camp looking for anything important.
*set camp_inv + 1
*page_break
*if (camp_enq < ((Per * scrutiny) + 30)) and (camp_prison < 1)
*set camp_prison 1
You notice what looks like a prison enclosure just outside the camp proper.
*page_break
*goto investigate_camp
*elseif (camp_enq < ((Per * scrutiny) + 40)) and (camp_medic < 1)
*set camp_medic 1
You notice a some strange sounds from the Medicae tents.
*page_break
*goto investigate_camp
*else
Your search turns up nothing of interest. Solaria looks bored.
*page_break
*goto investigate_camp
any help appreciated