[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 379: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4688: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4690: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4691: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4692: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
Novelty forum • View topic - Quick Reaction Events

Quick Reaction Events

Have any technical questions or suggestions? Post them here.

Quick Reaction Events

Postby DarckRedd » Sun Jan 04, 2009 12:03 am

I'm wondering it if it's at all possible to set up some kind of script that would allow me to make quick reaction events. For example, a segment of the game that asks the player to hit a button to dodge a stab attack while a timer is running. If the timer runs out... well... Bad End.

This the crux of what I'm trying to do: 1) Rig a timer governed by a boolean. I can do this by using 'elapsed' with a normal variable. 2) Rig a button to change the boolean when the button is pressed. This is elementary. 3) Make something bad when the timer runs out.

The trouble is in step 3. I can't figure out how to make scripts and variables made outside the script to interact. If I could, finishing it would be as simple as detecting the timer and creating a bad end.
User avatar
DarckRedd
 
Posts: 71
Joined: Thu Oct 09, 2008 2:32 am

Re: Quick Reaction Events

Postby ErikB » Sun Jan 04, 2009 2:11 pm

User avatar
ErikB
Novelty developer
 
Posts: 1209
Joined: Wed Jul 16, 2008 3:58 pm

Re: Quick Reaction Events

Postby 8oni » Wed Jun 01, 2016 2:26 am

Last edited by 8oni on Thu Jun 02, 2016 4:50 am, edited 1 time in total.
So many idea, so little time
User avatar
8oni
 
Posts: 259
Joined: Tue Oct 30, 2012 12:23 pm

Re: Quick Reaction Events

Postby fleet » Wed Jun 01, 2016 7:17 pm

Nice work!
Why? I like big ones, that's why.
User avatar
fleet
 
Posts: 871
Joined: Tue Aug 31, 2010 12:03 am
Location: USA


Return to Support & Development

Who is online

Users browsing this forum: No registered users and 2 guests

cron