Hi,
I have a few events that give my player special skills. Later in the game, I want to check whether or not the player already acquired this skill. Knowing the very basics about them, I would like to do this via custom properties. In particular, I wonder how to script the following scenario:
I have the feeling there might be some solution using the basic scripting operators but I can't quite put my finger on it.
I further hope I made myself clear engough. Any help is greatly appreciated
I have a few events that give my player special skills. Later in the game, I want to check whether or not the player already acquired this skill. Knowing the very basics about them, I would like to do this via custom properties. In particular, I wonder how to script the following scenario:
- Player acquires Skill C => add the letter C to my custom TextProperty "Skills" without deleting whatever else may already be written there (because the player may have already acquired skills A, B and D)
- Player needs Skill C to progress => check if the letter C is part of the custom TextProperty "Skills" even though it might not be the only content of the TextProperty (because the player may have already acquired skills A, B and D)
I have the feeling there might be some solution using the basic scripting operators but I can't quite put my finger on it.
I further hope I made myself clear engough. Any help is greatly appreciated