Age of Kings Heaven 139
Welcome
Downloads Home
Best Files
Review Guidelines
Main site
Forums
Code of Conduct
Search

Advanced Search
Utilities
Home
New Releases
New Reviews
New Comments
Top-Rated

Submit File
Browse Categories
New Files
Recent Updates

Downloads Home » Utilities » Random Event Generator

Random Event Generator

Download File Post Review Post Comment
(Updated on 10/27/02)
Author File Description
Sparhawk104
File Details
Version: The Conquerors
Arena Fight is a truly random event where you choose one of two champions to bet on in a fight, if you win you get paid and if you lose you lose money.

The random generator is a loop with two alternatives which alter every second if you play on fast.
The outcome of the fight depends on which alternative that is active when you select one of the champions.

I found a problem with the champions, they didn't fight, but I fixed it.

Feedback appreciated.


Sparhawk104
robert.nygardh@swipnet.se
AuthorReviews   ( All | Comments Only | Reviews Only )
lunascii
Rating
3.5
Breakdown
Usefulness/Novelty3.0
Quality/Instructions4.0
This is the same way I do it but less complex. He alternates between two objects at an even rate, so it would really be possible to time your actions and win accordingly. It's better to toggle three objects (each one erases the other two) and set the intervals to times that will overlap recursively at different time intervals each time. Such as 3, 10, and 14 seconds or just something strange like that. You can add to the complexity by having your first toggle control a second toggle, which could even feed back into the original loop, or find some other random event in the game to throw into the mix. A better object to use would be a flag because you can leave them out of your population count in a live scenario. I did struggle for several hours figuring out how to do it so this scenario might help somebody to see how it can be done, there is an error at the beginning of the launch, I just ignored it still worked, but the fight didn't loop so I could only bet one time, kind of hard to get addicted then isn't it?

Post Review Post Comment

HGDL v0.7.1

Login
Forum Username:


Password:




Create a new account
Forgot password?
Rating
3.5
Breakdown
Usefulness/Novelty3.0
Quality/Instructions4.0
Statistics
Downloads:2,151
Favorites: [Who?]0
Size:5.47 KB
Added:11/15/00
Updated:10/27/02