HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

I need help with a random picking trigger, using uther party as example again

07-18-2003, 12:20 AM#1
Fragmentation
Can anyone help me out in figuring something out

How does TheZizz (maker of uther party) go about making it so the game chooses randomly different mini-games

I think he sets up the triggers for each mini-game and then makes a random trigger to activate individual triggers (on random) which those activated triggers opens up all of the triggers needed to run that mini-game and after that game is done then the end trigger will be to close down those triggers and then the random picking trigger will then opeen another game

I need to be corrected in any way possible, this method he used would be perfect in my new rendition of a hero arena, I need help on knowing exactly how he goes about doing that if anyone can help please do

Thank you all

Later
07-18-2003, 12:31 AM#2
COOLer
use the random number funtion ! Example

Set RND = (Random integer number between 1 and 10)

or you could write your own algrithum !
07-18-2003, 12:35 AM#3
Fragmentation
is that just the trigger?

I mean if I am to go about using it, how?

how do i use it to work in terms of creating what uther party did picking random mini games

if anyone can even just tell me how you go about doing that maybe I can figure it out thru the triggers then since I will know what needs to be donne to accomplish that
07-18-2003, 01:32 AM#4
Fragmentation
gah can anyone help me out?
07-18-2003, 02:11 AM#5
Fragmentation
Ok pes

I got 2 questions the first one is me blindly not checking the trigger out first...but... can i alter the set RND start trigger from lets say 1- 50 or 1- 60? instead of 1 - 10?

second question, when you say run mini game 1 etc..

lets say mini game 1 is "blah" so i make the triggers for blah to go about working, then Im thinking that for all of this to work I then set up one trigger which turns on the triggers for mini game 1 ("run Minigame #1") ONLY when the choose mini game trigger lets say chooses the #1 ("Action - If RND = 1 then do action - run Minigame #1") which then chooses the trigger that activates the triggers that run mini game 1, then when mini game 1 is done, I then have a trigger where it shuts down the triggers used in mini game 1 since its finished. Is this correct?

also the RND thing may help me but how do I go about lets say when a RND chooses the #1, I dont want it to pick 1 again is there a special way to do this or does the trigger automatically not choose the numbers chosen already?


Thanks pes and will reply back on success or continued failure
07-18-2003, 05:20 AM#6
Fragmentation
Thank you pes got another question

"ChooseSecondGame
Event - None
Action - Set RND to (random integer between 2-10) (so you dont choose 1 again)
Action - Run Choosegame (this goes back to your trigger that you already created.
"

If the RND is gonna randomly choose a number how can I set up the next RND pick to pick 2-10? since the first RND number couldve been 6 or 8
07-18-2003, 05:43 AM#7
Fragmentation
wow that is more complicated

Im hoping it doesnt have to be that complicated

anyone else have something simpler?

or a way that has always been obvious and is simpler?

any more help is appreciated thanks
07-18-2003, 06:19 AM#8
Fragmentation
I have another trigger question which I shouldve figured out first day of mapping

what is the trigger or way to go about it to make it so the players name in the game is displayed and then the text

like lets say plyer 1 red is named xxxmagexxx

and I want a trigger to display xxxmagexxx wins

I have an event where in a region if number of units equal to 1
then I want what to happen is to remove the unit do an animation at its position then go about making it so owner of units name is displayed wit win next to it --> example " xxxmagexxx wins
07-18-2003, 07:27 AM#9
Mast-of-fish
about uther party question....
uther party is not protected (im pretty sure)
just look it up :)
for the second one..... that dead easy just put string(function(player 1))(or watever)
07-18-2003, 07:33 AM#10
Fragmentation
Uther party 0.25a for RoC

was the first publicized version eh?

i tried opening it its protected

do you have a much earlier version

anyway Im not gonna steal anything I jus rly need help on what triggers Zizz used to go about doing what he did
07-18-2003, 07:49 AM#11
Mast-of-fish
uhrm i have uther party 0.09 and *I* wouldnt call that stealing
(after all if u said it was stealing by the same token ur stealing the IDEA anyways)
uhrm i dunno how to attach so if u want ill email you it
forgot to mention:it IS unprotected
07-18-2003, 07:58 AM#12
Fragmentation
my e-mail is

[email protected]

thanks much
07-18-2003, 07:59 AM#13
Mast-of-fish
hmm i do not precisely understand how he did it
as far as i can tell he essentially made a variable array of triggers with trigger initiliazations with the init trigger turning on a bunch more
the trigs are damn hard to understand tho
07-18-2003, 08:15 AM#14
Fragmentation
I understand all triggers that I dont know before as long its somehow layed out to me
07-18-2003, 08:17 AM#15
piRo-piOn
i thinks it's easily done. just do if randomnumber = 1 run this trigger else run that trigger.