Non-existent variable 'choice_purchase_supported'

Okay so I am trying so damn hard to just get this done, COG added this to my startup and yes I understand why however the variable comes up as non existent, creating one won’t work so I am not sure on what to do.

any help would be appreciated, thank you

*if not(choice_is_web or choice_is_steam)
*temp skip_description
*config skip_description false
*if skip_description
*advertisement
*goto purchased
*check_purchase adfree
*if choice_purchase_supported and not(choice_purchased_adfree)

I guess that once CoG adds their part of the code it isn’t meant to be run on our end anymore. I don’t think there’s a fix to that other than to work with the code you have before they add up their part.

Yeah I think once CoG adds their variables it can’t be run in “normal” choicescript. As they are released in a “custom” engine so to speak.

Just *comment out those lines before you have to test the game

Then remember to remove the comments once you are done.

*if not(choice_is_web or choice_is_steam)
*temp skip_description
*config skip_description false
*if skip_description
*advertisement
*goto purchased
*check_purchase adfree
*if choice_purchase_supported and not(choice_purchased_adfree)

So I replace the commands with comments? can you show me please.

*comment *if not(choice_is_web or choice_is_steam)
*comment *temp skip_description
*comment *config skip_description false
*comment *if skip_description
*comment *advertisement
*comment *goto purchased
*comment *check_purchase adfree
*comment *if choice_purchase_supported and not(choice_purchased_adfree)

This should work

1 Like

Thank you :slight_smile:

1 Like

This topic was automatically closed 24 hours after the last reply. If you want to reopen your WiP, contact the moderators.