Staredit Network

Staredit Network -> UMS Assistance -> Random Events?
Report, edit, etc...Posted by Mpstark on 2004-06-02 at 22:57:16
Sorry about asking about stuff in Diplomacy, but is it possible to do random events like every turn. Say...

Cond.-
(The same as a cities, so it fires when the cities do)

Actions-
(Same as cities except-)
-Randomize "Switch1"
-Set "Switch2"
-Preserve Trigger

---------------------

Cond.-
-"Switch2" is set
-"Switch1" is cleared

Actions-
-Text Message - No Random Event this turn
-Clear "Switch2"


---------------------

Cond.-
-"Switch2" is set
-"Switch1" is set

Actions-
-Randomize "Switch3"
-Set "Switch4"
-Clear "Switch2"

---------------------

Cond.-
-"Switch4" is set
-"Switch3" is cleared

Actions-
-Random Event1 Occurs
-Clear "Switch4"
-Preserve Trigger

---------------------

Cond.-
-"Switch4" is set
-"Switch3" is set

Actions-
-Random Event2 Occurs
-Clear "Switch4"
-Preserve Trigger

---------------------

Or something like that, with a few more branches of switches. Would that produce a random event? Or would it just be dumb? Please provide feedback!
Report, edit, etc...Posted by (U)Bolt_Head on 2004-06-03 at 03:44:45
Your random logic is twisted.

You know the way you have it set up doing nothing is 50% chance and event 1 and 2 have a 25% chance. Is that what you want?

Check out the other thread going on now about Randomization
http://www.staredit.net/index.php?showtopic=2463
Report, edit, etc...Posted by Mpstark on 2004-06-03 at 08:35:57
Yea, well... I thought it up on my own in ten minutes so... tongue.gif. Yes, in that example, there is a 1/2 chance of getting a random event and a 25% chance of getting Random Event1 or 2. I want it that way. I am thinking that I want a 1/8 chance of getting 1 out 8 random events, so they don't repeat themselves.

EDIT-
Read the topic you provided. Thanks. It made alot of sence and its a better way of doing it then mine.
Report, edit, etc...Posted by .Coko[CK] on 2004-06-03 at 15:38:41
Thats because he worked on it a why, and he shows it off as often as possible. It is the best system, almost free of flaws, with only those in Starcraft getting to it.
Report, edit, etc...Posted by (U)Bolt_Head on 2004-06-03 at 18:59:23
Are you saying I’m a show off coko? I don't think trying to help people qualifies as showing off. I do show off some times though.
Report, edit, etc...Posted by .Coko[CK] on 2004-06-04 at 15:22:12
QUOTE
It is the best system, almost free of flaws

QUOTE
Are you saying I’m a show off coko? I don't think trying to help people qualifies as showing off.


Just saying that you show it off, because it works. Thought, yes sometimes you do, but then so do i on many things, its just how we all act.
Report, edit, etc...Posted by Valahan on 2004-06-05 at 00:39:12
Whoever said there was something wrong with a LITTLE cokiness? I mean, it's different if he's a total show off but he isn't.
Report, edit, etc...Posted by Yoshi da Sniper on 2004-06-05 at 00:40:50
If bolt shows off for helping people, then I'm a big show off for making this website wink.gif
Next Page (1)