Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: Licht61 on Mon 22/03/2021 20:29:47

Title: Disabling a character? [SOLVED]
Post by: Licht61 on Mon 22/03/2021 20:29:47
Hi!

I needed to disable the character, but for characters there no .Visible option.

Basically, I need to make character non-clickable and non-visible to play one object animation (character lying on sofa).

Title: Re: Disabling a character?
Post by: Khris on Mon 22/03/2021 21:13:24
You can use  cNpc.y = -1;  to move them off-screen.
Or set .Transparency to 100 and .Clickable to false.
Title: Re: Disabling a character?
Post by: Licht61 on Tue 23/03/2021 15:29:21
Putting off-screen look like easy solution! This is literally the very last difficult part that kept me from finishing the demo (not counting the sound design)

Thank you again, Khris.