Castle Paradox Forum Index Castle Paradox

 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 Gamelist   Review List   Song List   All Journals   Site Stats   Search Gamelist   IRC Chat Room

Random backdrop

 
Post new topic   Reply to topic    Castle Paradox Forum Index -> HELP!
View previous topic :: View next topic  
Author Message
Battleblaze
Warrior Thread Monk




Joined: 19 Dec 2003
Posts: 782
Location: IndY OHR

PostPosted: Fri Feb 03, 2006 9:44 am    Post subject: Random backdrop Reply with quote

All I want the script to do is show one out of like 10 random backdrops and then show the map. So how do I go about it?
_________________
Indy OHR! and National OHR Month Contest going on now!

"Aeth calls PHC an anti-semite; PHC blames anti-semitism"
-squall
Back to top
View user's profile Send private message Visit poster's website AIM Address
Mr B




Joined: 20 Mar 2003
Posts: 382

PostPosted: Fri Feb 03, 2006 12:46 pm    Post subject: Reply with quote

Set the ten pictures to be sequencially numbered in the backdrop "menu."

Create a script that generates a random number between the ID value of the first backdrop and the ID value of the last backdrop.

Show the backdrop with the ID value that the RNG returns.

I think that should do it. Of course, the task is severely complicated if you don't have the backdrops inserted sequencially.
Back to top
View user's profile Send private message
Battleblaze
Warrior Thread Monk




Joined: 19 Dec 2003
Posts: 782
Location: IndY OHR

PostPosted: Thu Feb 09, 2006 5:17 pm    Post subject: Reply with quote

I get the jist but how what would the actual script look like!?
_________________
Indy OHR! and National OHR Month Contest going on now!

"Aeth calls PHC an anti-semite; PHC blames anti-semitism"
-squall
Back to top
View user's profile Send private message Visit poster's website AIM Address
TMC
On the Verge of Insanity




Joined: 05 Apr 2003
Posts: 3240
Location: Matakana

PostPosted: Thu Feb 09, 2006 8:29 pm    Post subject: Reply with quote

like this:

show backdrop (5 + random (0, 9))
wait (15)
show map

change the numbers as necessary.
_________________
"It is so great it is insanely great."
Back to top
View user's profile Send private message Send e-mail
Battleblaze
Warrior Thread Monk




Joined: 19 Dec 2003
Posts: 782
Location: IndY OHR

PostPosted: Fri Feb 10, 2006 2:19 pm    Post subject: Reply with quote

what the +5 for?
_________________
Indy OHR! and National OHR Month Contest going on now!

"Aeth calls PHC an anti-semite; PHC blames anti-semitism"
-squall
Back to top
View user's profile Send private message Visit poster's website AIM Address
Mike Caron
Technomancer




Joined: 26 Jul 2003
Posts: 889
Location: Why do you keep asking?

PostPosted: Fri Feb 10, 2006 3:37 pm    Post subject: Reply with quote

Replace '5' with the number of the first backdrop, and '9' with the number of backdrops.
_________________
I stand corrected. No rivers ran blood today. At least, none that were caused by us.

Final Fantasy Q
OHR Developer BLOG
Official OHRRPGCE Wiki and FAQ
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
Battleblaze
Warrior Thread Monk




Joined: 19 Dec 2003
Posts: 782
Location: IndY OHR

PostPosted: Sat Feb 11, 2006 11:04 am    Post subject: Reply with quote

thanx u!

Seriously every script is helpig CPVS get that much better.
_________________
Indy OHR! and National OHR Month Contest going on now!

"Aeth calls PHC an anti-semite; PHC blames anti-semitism"
-squall
Back to top
View user's profile Send private message Visit poster's website AIM Address
Mr B




Joined: 20 Mar 2003
Posts: 382

PostPosted: Sun Feb 12, 2006 3:43 pm    Post subject: Reply with quote

If there's an introductory programming class at your high school or the local JC (whichever best complements your status of geriatric progression), I highly suggest taking it. It will really open doors for your scripting.
Back to top
View user's profile Send private message
Battleblaze
Warrior Thread Monk




Joined: 19 Dec 2003
Posts: 782
Location: IndY OHR

PostPosted: Tue Feb 14, 2006 7:36 am    Post subject: Reply with quote

Lol I'm posting this from my graphoics imaging calss right now (I'm most likey failing since I'm supposed to be workin) but yeah.This is the closest hting we got to an electronic class.And all we're doin is workin in adobe PAGEMAKER sweet jesus it like farting.Seriously thats how hard it is.But my ADHD mind cant focus on it because its so easy. :C

But thanks again for the scripts MR.B & TMC (almost Rhymes)...+ Mike Caron.
_________________
Indy OHR! and National OHR Month Contest going on now!

"Aeth calls PHC an anti-semite; PHC blames anti-semitism"
-squall
Back to top
View user's profile Send private message Visit poster's website AIM Address
LeRoy_Leo
Project manager
Class S Minstrel



Joined: 24 Sep 2003
Posts: 2683
Location: The dead-center of your brain!

PostPosted: Wed Feb 15, 2006 8:02 am    Post subject: Reply with quote

Get yer priorities set straight, boy. Cool
_________________
Planning Project Blood Summons, an MMORPG which will incinerate all of the others with it's sheer brilliance...

---msw188 ---
"Seriously James, you keep rolling out the awesome like gingerbread men on a horror-movie assembly line. "
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address
Display posts from previous:   
Post new topic   Reply to topic    Castle Paradox Forum Index -> HELP! All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group