[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4505: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3706)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4507: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3706)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4508: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3706)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4509: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3706)
RabidHaMsTeR.Org • View topic - 23256 overlays

23256 overlays

How to create a custom scene, and custom scenes people have created.

Moderators: rabidhamster, Rovastar

23256 overlays

Postby andff » Sun Oct 10, 2004 9:48 pm

andff
 
Posts: 364
Joined: Mon Aug 23, 2004 10:09 pm
Location: hiigara

Postby Rovastar » Wed Oct 13, 2004 2:11 am

Rovastar
 
Posts: 423
Joined: Mon May 19, 2003 3:15 am
Location: Derby & London, England

Postby rabidhamster » Wed Oct 13, 2004 2:55 pm

rabidhamster
Site Admin
 
Posts: 1100
Joined: Fri Mar 21, 2003 12:31 pm
Location: Cambridge, England

Postby andff » Wed Oct 27, 2004 9:01 pm

andff
 
Posts: 364
Joined: Mon Aug 23, 2004 10:09 pm
Location: hiigara

Postby rabidhamster » Thu Oct 28, 2004 8:33 am

I think the code is this:

while([equal(getoverlay(0),[-1])],[removeoverlay(getoverlay(0))])

Try putting up some overlays and then using the console/web interface console to type it in and see if it works. I will try and test it later.

To assign it to a key, type:
setinfo([key/VK_F9+],[while([equal(getoverlay(0),[-1])],[removeoverlay(getoverlay(0))])])

VK_F9 is the F9 key - have a look at the file R4\menu\keys.txt for a list of all the keys
rabidhamster
Site Admin
 
Posts: 1100
Joined: Fri Mar 21, 2003 12:31 pm
Location: Cambridge, England

Postby andff » Sat Oct 30, 2004 5:26 pm

high!

it's me again..
code is looking good, but makes no visible results..
when i wrote setinfo([key/VK_F9+],[while([equal(getoverlay(0),[-1])],[removeoverlay(getoverlay(0))])]) in console, setinfo was insert "while([equal(getoverlay(0),[-1])],[removeoverlay(getoverlay(0))])" instead of old string "miniscreenshot(getinf(getcurrentscene(),[file]))" in data/prefs.txt. presing on F9 even after restarting, not affects on any active overlays.. :(
.
.
a quantum leap forward!
andff
 
Posts: 364
Joined: Mon Aug 23, 2004 10:09 pm
Location: hiigara

Postby Chris » Sun Oct 31, 2004 8:18 am

Shouldn't it be

while([not(equal(getoverlay(0),[-1]))],[removeoverlay(getoverlay(0))])

Chris
Chris
 
Posts: 66
Joined: Sat Sep 27, 2003 12:41 am

Postby andff » Sun Oct 31, 2004 8:04 pm

.
.
a quantum leap forward!
andff
 
Posts: 364
Joined: Mon Aug 23, 2004 10:09 pm
Location: hiigara

Postby andff » Thu Nov 11, 2004 1:08 pm

high!

i need some upgrade for this script..
while([not(equal(getoverlay(0),[-1]))],[removeoverlay(getoverlay(0))])
removeoverlay function removes first (bottom) overlay from render list; overlay#3 will be moved into position #2 after this func, overlay#2 will be moved into position #1, and #1 will be #0. How can i get the number of curently drawing overlays to remove only the top one?
something like removeoverlay(getoverlay(maxoverlaynumber()))?
.
.
a quantum leap forward!
andff
 
Posts: 364
Joined: Mon Aug 23, 2004 10:09 pm
Location: hiigara

Postby rabidhamster » Fri Nov 12, 2004 11:39 am

rabidhamster
Site Admin
 
Posts: 1100
Joined: Fri Mar 21, 2003 12:31 pm
Location: Cambridge, England

Postby Chris » Fri Nov 12, 2004 1:17 pm

Chris
 
Posts: 66
Joined: Sat Sep 27, 2003 12:41 am

Postby rabidhamster » Fri Nov 12, 2004 1:36 pm

rabidhamster
Site Admin
 
Posts: 1100
Joined: Fri Mar 21, 2003 12:31 pm
Location: Cambridge, England

Postby Chris » Fri Nov 12, 2004 3:21 pm

Chris
 
Posts: 66
Joined: Sat Sep 27, 2003 12:41 am


Return to R4 Custom Scenes

Who is online

Users browsing this forum: No registered users and 3 guests