HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Post Trigger Questions Here

12-24-2002, 10:06 AM#1
Guest
Ok I see lots of peeps making new threads for each trigger problem they have. I am pretty good at triggers, so any problems you have just post them here, and I will answer them as well as I can.
12-24-2002, 01:11 PM#2
fr0ggE
:ggani:
alright, so i have a shit load of units in a certain area that i want to remove from the game. I could technically make a big unit group, but i think it would be handier to just put a region there and then remove units in that region. I can't seem to do it tho.

My idea was to make a trigger thusly:
events:
none
---------------------
conditions:
none
---------------------
actions:
pick every unit in region and remove picked unit game

i don't know how to do it tho.

and another question:
is there a fast way to make big unit groups aside from just selecting them all individually.

fr0ggE
12-24-2002, 01:13 PM#3
fr0ggE
the trigger i have above would be used by
"Running Trigger ignoring conditions"

when i wanted to use it during a cinema

fr0ggE
12-24-2002, 01:24 PM#4
fr0ggE
:D

As is so often the case i figured out the answer to my own question after posting the question...

What you do is just use the

"Pick Every Unit in Unit Group" thing and make it into

"Pick Every Unit in Region X" and then do it.

I was thrown off because i thought there had to be actual unit group used by the "Pick Every Unit in Unit Group" action...

thanks for being able to answer this question as I'm sure you are.

lol

fr0ggE
12-24-2002, 02:08 PM#5
Electromancer
You coulda just edited your post dude. And we dont need another topic titled "Post trigger questions here". I started one a while ago, and theres been a million others too. They all get erased in no time. And newbs posting questions all over seems to be one of the only way for them to get attention to their problems.
12-24-2002, 02:12 PM#6
fr0ggE
oh, heh, didn't know you could do that. Thanks for the tip. And i agree about posting questions as their own post.

fr0ggE

P.S. how exactly do you do that?
12-24-2002, 02:24 PM#7
Electromancer
To edit a post, just click the edit button at the bottom right of the post. You can only edit your own post though.
12-24-2002, 05:36 PM#8
Guest
How do I make all the buildings in my game build the only unit each one can build all at once? Start of game works for me. I just dont want to make a trigger for all the 30 buildings or so
12-24-2002, 06:43 PM#9
Electromancer
Use a pick every unit action and an if/then/or trigger. That should work.
12-24-2002, 06:53 PM#10
Guest
Am I still gonna have to tell them to build each different unit seperatelty? They all build different units for the most part. Is there a way to make all the building build a random unit or something. If they all did that and only could build one type, then they would do what I wanted.
12-24-2002, 07:03 PM#11
Electromancer
Your gonna have to make a different trigger for each one. And if you want it random, you can make one variable thats a random integer and have them spawn all different units on each integer, or if you want it even more random you gotta make a variable for each building.
12-24-2002, 07:32 PM#12
Draco
Actually guys, there's already an "Important" thread for this stuff. People post there trigger problems seperate from it to get more attention, so I doubt this thread, or the other one, for that matter, will do much good...
12-24-2002, 10:45 PM#13
Guest
Quote:
Originally posted by thephantomtoad
[b]:ggani:
alright, so i have a shit load of units in a certain area that i want to remove from the game. I could technically make a big unit group, but i think it would be handier to just put a region there and then remove units in that region. I can't seem to do it tho.

My idea was to make a trigger thusly:
events:
none
---------------------
conditions:
none
---------------------
actions:
pick every unit in region and remove picked unit game

i don't know how to do it tho.

and another question:
is there a fast way to make big unit groups aside from just selecting them all individually.

Just do
Events: Periodical Event: Every 0.2 seconds
Condision: [Interger] is equal to 1
Actions: Pick every unit in [region] and remove picked unit from the game.
Set Variable: [interger] = 0

Now in ur cinematic just do:
Set Variable: [interger] = 1
That will trigger it.

Quote:
Originally Posted by Logic
How do I make all the buildings in my game build the only unit each one can build all at once? Start of game works for me. I just dont want to make a trigger for all the 30 buildings or so

I dont understand the question. SOrry