Announcement: Be excellent to each other.


Caravel Forum : DROD RPG Boards : RPG Architecture : Scripting Help PLEASE!
New Topic New Poll Post Reply
Poster Message
mako
Level: Disabled
Avatar
Rank Points: 3
Registered: 12-11-2011
IP: Logged
icon Scripting Help PLEASE! (0)  
Tn TT I am making a hold that sorta involves a little gambling. I need a randomized script that only gives 1 effect until a certain tile is crossed. I really don't know what to do. Please help.

____________________________
See ya later losers!
06-16-2013 at 06:15 PM
View Profile Send Private Message to User Send Email to User Show all user's posts Quote Reply
Nuntar
Level: Smitemaster
Avatar
Rank Points: 4592
Registered: 02-20-2007
IP: Logged
icon Re: Scripting Help PLEASE! (+1)  
I would just say "Forget it"... the player can always undo until they get a favourable result.

But if you really want it, there's a (pseudo-)random number generator here.

____________________________
50th Skywatcher
06-16-2013 at 06:51 PM
View Profile Send Private Message to User Show all user's posts High Scores This architect's holds Quote Reply
mrimer
Level: Legendary Smitemaster
Avatar
Rank Points: 5056
Registered: 02-04-2003
IP: Logged
icon Re: Scripting Help PLEASE! (0)  
mako wrote:
...that only gives 1 effect until a certain tile is crossed. I really don't know what to do.
Can you be more specific about which part of this you need help with?

____________________________
Gandalf? Yes... That's what they used to call me.
Gandalf the Grey. That was my name.
I am Gandalf the White.
And I come back to you now at the turn of the tide.
06-17-2013 at 01:30 PM
View Profile Send Private Message to User Send Email to User Show all user's posts High Scores This architect's holds Quote Reply
mako
Level: Disabled
Avatar
Rank Points: 3
Registered: 12-11-2011
IP: Logged
icon Re: Scripting Help PLEASE! (0)  
mrimer wrote:
mako wrote:
...that only gives 1 effect until a certain tile is crossed. I really don't know what to do.
Can you be more specific about which part of this you need help with?
the "Randomizer" Part.

____________________________
See ya later losers!
06-20-2013 at 04:44 AM
View Profile Send Private Message to User Send Email to User Show all user's posts Quote Reply
12th Archivist
Level: Smitemaster
Avatar
Rank Points: 789
Registered: 12-07-2008
IP: Logged
icon Re: Scripting Help PLEASE! (+1)  
mako wrote:
the "Randomizer" Part.
Well, like Nuntar said, you can find a great pseudorandom number generator here, which you can modify and adapt to output a semi-random number whenever you step on a tile. If you want, you could get some help on how to do this best.

____________________________
It was going well until it exploded.
~Scott Manley

Check out the DROD Wikia project here!
06-20-2013 at 04:53 AM
View Profile Send Private Message to User Show all user's posts This architect's holds Quote Reply
New Topic New Poll Post Reply
Caravel Forum : DROD RPG Boards : RPG Architecture : Scripting Help PLEASE!
Surf To:


Forum Rules:
Can I post a new topic? No
Can I reply? No
Can I read? Yes
HTML Enabled? No
UBBC Enabled? Yes
Words Filter Enable? No

Contact Us | CaravelGames.com

Powered by: tForum tForumHacks Edition b0.98.8
Originally created by Toan Huynh (Copyright © 2000)
Enhanced by the tForumHacks team and the Caravel team.