Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: Axemsir on Mon 18/10/2010 08:59:25

Title: How to know which character is selected?
Post by: Axemsir on Mon 18/10/2010 08:59:25
Hi all

I have a problem with finding out if a character is selected (by mouse click). I have multiple characters in my game and want them to change appearance when they are clicked on, so I want to create a global function that sees what character i've clicked on and will change their (speech) view. I couldn't find it on the forums or in the manual.

Thank you in advance  :)
Title: Re: How to know which character is selected?
Post by: cianty on Mon 18/10/2010 09:17:31
Have a look at this thread:
http://www.adventuregamestudio.co.uk/yabb/index.php?topic=41997.0

Should work the same way for characters I believe.