Adventure Game Studio

AGS Support => Advanced Technical Forum => Topic started by: Radiant on Fri 25/06/2004 14:58:58

Title: Quick question on cutscenes
Post by: Radiant on Fri 25/06/2004 14:58:58
Is it true that during a cutscene, regular controls are disabled?
What about in a room that is marked 'hide player character in this room'?
Title: Re: Quick question on cutscenes
Post by: Scorpiorus on Fri 25/06/2004 15:16:19
The execution of the script is usually blocked in that case, but it's due to the blocking nature of functions that are used for cutscenes. Hidding a player character doesn't make difference.

Do you want to have a cutscene during which a player can have a control?
Title: Re: Quick question on cutscenes
Post by: Radiant on Mon 28/06/2004 17:18:43
No, I just wanted to be certain that he couldn't do nasty things such as moving around by accidentally clicking a mouse button.
...and sometimes by cutscene goes 'while (something) wait (1)'.
Title: Re: Quick question on cutscenes
Post by: Pumaman on Mon 28/06/2004 20:58:27
Well, Walk mode is disabled if the player character is hidden, so they wouldn't be able to move by accident. All the other cursor modes still work though.
Title: Re: Quick question on cutscenes
Post by: Scorpiorus on Sat 03/07/2004 11:48:34
Also, since mouse interactions are initiated through the on_mouse_click function which can't be called while the script is blocked somewhere (in cutscene) a player doesn't have a chance to interact.
Title: Re: Quick question on cutscenes
Post by: Radiant on Tue 06/07/2004 14:43:58
Thanxx!