Adventure Game Studio

AGS Support => Advanced Technical Forum => Topic started by: nightmarer on Sun 19/12/2021 10:25:16

Title: Character implementation
Post by: nightmarer on Sun 19/12/2021 10:25:16
Hello.
I would like to personalize some Characters with some special features.
For example, I would like to add a bool variable which defines if the Character is alive or dead.
I don't know if it is posible to do that. I want to clean global variables to define this.
Which would be the better way of doing this in AGS?
Title: Re: Character implementation
Post by: Crimson Wizard on Sun 19/12/2021 11:05:29
Look up "Custom Properties" in the manual, these are named variables that may be attached to game objects, set in the editor and read or changed in script.
Title: Re: Character implementation
Post by: nightmarer on Sun 19/12/2021 11:24:11
Thank you very much!