Randomizing
This topic is locked. You can no longer write replies here.
Dec 26 2009, 5:14 am
By: Striker  

Dec 26 2009, 5:14 am Striker Post #1



I need some help with my map, I have 3 switches that are being randomized but it seems that only one thing is being chosen. I don't know if the randomizing trigger isn't enough or what? And I used a hyper trigger of 62 waits; preserve trigger; comment: Hyper Trigger. And there is 8 of them. Not sure if this effected it...



None.

Dec 26 2009, 5:18 am Cinolt Post #2



Post map / triggers and we can help with the problem better, maybe you aren't doing something right



None.

Dec 26 2009, 5:24 am Striker Post #3



right now im testing an ai so if you can help with the randomizing i would be thankful



None.

Dec 26 2009, 5:30 am CecilSunkure Post #4



Well with three switches you are going to have 8 possible outcomes, and this means you have 8 different triggers to make with 8 different switch combinations in the conditions. So, since you didn't post the map, this means any number of things could be going wrong. I don't have the map to see what you did, so I'm assuming you just had some simple error in your map, like copying the same switch twice instead of creating conditions involving all three of the different switches.

Post up your map, or your triggers, if you would like more in-depth or meaningful help.



None.

Dec 26 2009, 5:34 am Striker Post #5



okay sorry about that i thought i posted it

Attachments:
Protoss Comp.scm
Hits: 1 Size: 55.15kb



None.

Dec 26 2009, 5:38 am CecilSunkure Post #6



You forgot to preserve the trigger under "all players" that randomizes the switches :D



None.

Dec 26 2009, 5:40 am Striker Post #7



yes, i noticed but if i have it preserved then it would pick more then one of them, and im trying to have it pick just one. any thoughts?



None.

Dec 26 2009, 5:49 am CecilSunkure Post #8



Quote from Striker
yes, i noticed but if i have it preserved then it would pick more then one of them, and im trying to have it pick just one. any thoughts?
Ah, well you should have specified this in your original post.

You are going to want to make sure that your randomization trigger fires before the rest of the triggers do. In order to do so you can place your randomization trigger at the top of the trigger list, or have your randomization trigger set something to detect in other conditions. So for instance, you could have your randomization trigger "set switch 4". Then, in all your other triggers that detect the randomized combination, you can add in the condition of "switch 4 is set".

You could also add in a condition to the triggers that detect randomized combos of "elapsed scenario time is at least x seconds" to ensure that your randomize trigger fires before the combo detectors do.



None.

Dec 26 2009, 6:08 am Striker Post #9



Thank you :D



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[02:43 am]
Symmetry -- I'm doing my best, damn it
[04:46 pm]
Ultraviolet -- @:@
@:@ shouted: this community still going strong?
Still going.. strong is debatable though.
[04:13 pm]
WeirdoX4857 -- I can't believe this is really been around since 2003 but it does look classic and old asf still better than talking to kids on discord ranting about skibidi toilet and sexuality or whatever mental illness is going on in their heads
[04:11 pm]
WeirdoX4857 -- Nigga how you ask is it still going strong when you get a text every 3 miles per hour or something
[04:10 pm]
WeirdoX4857 -- Where is everybody
[01:21 pm]
@:@ -- this community still going strong?
[2026-9-27. : 4:30 pm]
Oh_Man -- yeah, probs
[2026-9-27. : 3:11 pm]
NudeRaider -- I bet it just needs another training session against pros instead of only against itself and nobody will be able to stop it anymore.
[2026-9-27. : 3:09 pm]
NudeRaider -- Oh_Man
Oh_Man shouted: pluto vs pro gamer snow: https://youtu.be/NOXXpATkdZU
so it can be beaten by a prepared pro, even in macro games, if only barely. the muta micro in particular seems really hard to handle for protoss ground though. In the open goons can't catch them, in the base they trip over buildings, it just instantly flies out of storms and they fly circles around archons. Mass cannons do work, but can't cover the whole map with it. Probably need mass corsair to counter and hope you can outmaneuver all the scourge.
[2026-9-27. : 2:14 am]
Oh_Man -- pluto vs pro gamer snow: https://youtu.be/NOXXpATkdZU
Please log in to shout.


Members Online: Zycorax, Symmetry