Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(2 edits) (+2)

For character customization: I'm still a bit confused on this one but this is what worked for me. On a profile passage, you make a variable command. 

<<if $profile is true>> 

Really cool character description

<</if>>

(If you want to leave a message when the player hasn't chosen, lets say a hair color, you can do something like this):

Your hair color is... <<if $haircolor is true>> $haircolor <<else>>  uh... you don't know yet <</if>> 

  • Now, you can let the player chose an option for their character's looks by:

a) Your hair color is... *<<link "Brown">><<set $haircolor to "brown">>

This is for more of a list

b) Your hair color is... <<textbox "$haircolor" "">>

This allows the reader to write the hair color themselves

c) Your hair color is... <<include "Cycling">>

For this option you have to make a passage to enter in a code like this:

<<silently>>

<<if not $choices>>

  <<set $choicesCount to -1>>

  <<set $choices to ["brown", "auburn", "black", "white", "ash grey"]>>

<</if>>

<<set $choicesCount to $choicesCount + 1>>

<<if $choicesCount >= $choices.length>>

   <<set $choicesCount to 0>>

<</if>>

<<set $haircolor to $choices[$choicesCount]>>

<</silently>>

\<<linkreplace $choices[$choicesCount]>><<include "Cycling">><</linkreplace>>

Hope this helps!! :D

Thank you so much!

(+1)

No problem! I wish you the best of luck in your coding :D