View previous topic :: View next topic |
Author |
Message |
Battleblaze Warrior Thread Monk

Joined: 19 Dec 2003 Posts: 782 Location: IndY OHR
|
Posted: Fri Feb 03, 2006 9:44 am Post subject: Random backdrop |
|
|
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 |
|
 |
Mr B
Joined: 20 Mar 2003 Posts: 382
|
Posted: Fri Feb 03, 2006 12:46 pm Post subject: |
|
|
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 |
|
 |
Battleblaze Warrior Thread Monk

Joined: 19 Dec 2003 Posts: 782 Location: IndY OHR
|
Posted: Thu Feb 09, 2006 5:17 pm Post subject: |
|
|
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 |
|
 |
TMC On the Verge of Insanity
Joined: 05 Apr 2003 Posts: 3240 Location: Matakana
|
Posted: Thu Feb 09, 2006 8:29 pm Post subject: |
|
|
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 |
|
 |
Battleblaze Warrior Thread Monk

Joined: 19 Dec 2003 Posts: 782 Location: IndY OHR
|
Posted: Fri Feb 10, 2006 2:19 pm Post subject: |
|
|
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 |
|
 |
Mike Caron Technomancer

Joined: 26 Jul 2003 Posts: 889 Location: Why do you keep asking?
|
|
Back to top |
|
 |
Battleblaze Warrior Thread Monk

Joined: 19 Dec 2003 Posts: 782 Location: IndY OHR
|
Posted: Sat Feb 11, 2006 11:04 am Post subject: |
|
|
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 |
|
 |
Mr B
Joined: 20 Mar 2003 Posts: 382
|
Posted: Sun Feb 12, 2006 3:43 pm Post subject: |
|
|
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 |
|
 |
Battleblaze Warrior Thread Monk

Joined: 19 Dec 2003 Posts: 782 Location: IndY OHR
|
Posted: Tue Feb 14, 2006 7:36 am Post subject: |
|
|
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 |
|
 |
LeRoy_Leo Project manager Class S Minstrel

Joined: 24 Sep 2003 Posts: 2683 Location: The dead-center of your brain!
|
Posted: Wed Feb 15, 2006 8:02 am Post subject: |
|
|
Get yer priorities set straight, boy.  _________________ 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 |
|
 |
|