Hi,
is there a way to change the character picture according to the state of a boolean variable?
Thank you in advance for your help!
Change [pic] with a boolean variable
Re: Change [pic] with a boolean variable
Hi,
You can use a Number variable. The [pic] tag can either be a number to use a specific portrait number:
[pic=#]
or a variable name:
[pic=CurrentPlayerPortrait]
The line above assumes you've defined a Number variable named "CurrentPlayerPortrait".
You can use a Number variable. The [pic] tag can either be a number to use a specific portrait number:
[pic=#]
or a variable name:
[pic=CurrentPlayerPortrait]
The line above assumes you've defined a Number variable named "CurrentPlayerPortrait".
Re: Change [pic] with a boolean variable
Great! Thanks!