Hello, everyone. I’m new to choicescript (just started creating my first game a few days ago) and I’m having some problems. I’ve already tried looking up solutions, but nothing I’ve found seems to work.
So, first thing - I can’t seem to get names and things to show up. Example 1:
#Yes. But I told you not to call me "${creator_title}."
*goto titleinput
*finish
And Example 2:
You follow ${servant_name} down the corridors of your castle.
When I test the game out, the first example shows up as, "#Yes. But I told you not to call me “.”, and the second one shows up as “You follow down the corridors of your castle.”
In the startup page I have these two as
*create creator_title ""
and
*create servant_name ""
Similar things don’t work, either. Can anyone tell what I’m doing wrong? If you need to see more code, just let me know.
The second problem is this: I want the player to be able to choose whatever role they want to be - so it’ll be the same story, just told from different points of view depending on what they chose at the beginning of the game (it’s a little hard for me to explain). For this, I want different stats to show up for each different role, but I can’t figure out how to do that. Is it even possible? I can get stats to show up, but I can’t hide any. For example, say I want to experience the story from the servant’s point of view. I go to the stat page, and the servant’s stats show up…along with the stats for the other character (there’s only two characters at the moment, but I plan on having at least four). How do I change that?
Here is just one version of the code (I tried many, none of them worked):
*label stats
[b]Relationships[/b]
*if metServant = true
text name
*stat_chart
text Servant
opposed_pair Hate
Love
*if metCreation
*stat_chart
text Creation
opposed_pair Hate
Love
*if metOutsider
*stat_chart
text Outsider
opposed_pair Hate
Love
*line_break
[b]Relationships[/b]
*if metCreator = true
text name
*stat_chart
text Creator
opposed_pair Hate
Love
*if metCreation
*stat_chart
text Creation
opposed_pair Hate
Love
*if metOutsider
*stat_chart
text Outsider
opposed_pair Hate
Love