HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

need help triggering my game!

03-02-2006, 02:40 PM#1
evilmapcreater
this game im making is a tag game. its not like sheep tag or tree tag. its going to be like a regular tag game in real life.

this is what i want to do: when a tagger attacks some runner make runner have a tagger where he died and make every one treat him as enemy. and make a runner for the tagger where he attacked and make every runner treat him as a ally. oh when the tagger tags some one, and he turns into a runner, i want to make it so he has some time to escape u no what i mean.

i tried a couple of triggers hoping it would work, but it dident.

if u help me with this ill put u in credits. ty
03-02-2006, 03:06 PM#2
evilmapcreater
help............

whitehorn im sorry i have to double post. just some one plz help
03-02-2006, 03:12 PM#3
Whitehorn
Don't double post. Wait. Be patient. Go watch kids TV.
03-02-2006, 05:05 PM#4
evilmapcreater
i need help plz. some one answer to my qeston plz. im sorry i have already made 3 posts but ive been checking all day, still no answer. would some one just try to help me, maybe just state a few triggers to try out, because im borad, and no whitehorn im not going to watch kids tv lol
03-02-2006, 05:08 PM#5
Whitehorn
2.5 hours is not all day. People have LIVES to live. Stop posting and just wait.
03-02-2006, 05:15 PM#6
Chuckle_Brother
I might help, or you might give me a task that I will never bother to finish.

Either way its your call, if I have free time and I happen to give more than 2 or 3 shits about what you want made then I will do a few freelance-style systems or whatever for you.
03-02-2006, 09:49 PM#7
evilmapcreater
id be very happy if u could do that...........

this is a trigger im sure wont take long i just cant figure it out, or in your words, it wont take much shtis
03-02-2006, 10:09 PM#8
Guest
i am also making a map simalar to evilmapcreaters and have the same problem
03-03-2006, 01:13 AM#9
Ice_Keese
Trigger:
Tag
Collapse Events
Unit - A unit Dies
Collapse Conditions
(Owner of (Triggering unit)) Not Equal To Player 12 (Brown)
Collapse Actions
Unit - Create 1 Tagger for (Owner of (Dying unit)) at (Position of (Dying unit)) facing 0.00 degrees
Player Group - Pick every player in (All allies of Player 1 (Red)) and do (Player - Make (Owner of (Dying unit)) treat (Picked player) as an Ennemy)

That's a VERY simple one, and it won't work if Player 1 is tagged. Additionnaly, it assumes that the tagger is Player 12...
I'm sorry, it's not very good, but that's the best I can do in 2 minutes...
03-03-2006, 12:57 PM#10
PerfectlyInsane
Well you ever played Bunny treasure hunt? Blizzard map.. You can stun a unit through triggers if the unit actually get spawned.. etc
03-03-2006, 07:14 PM#11
evilmapcreater
i dont need a trigger to stun some one. ice keese u were close, i think...

what i realy need is a trigger that, when a unit dies make dieing unit have a tagger where he died and make the tagger me untagged, like he becomes a runner and the rest of the runners are allied with him. ive tried to make some but i just get a big mess when i test it. this is a real stumper.......

plz at least some one give me a trigger to try out.

this is what i tried once.
Trigger:
get tagged
Collapse Events
Unit - A unit Dies
Conditions
Collapse Actions
Wait 2.00 seconds
If ((Unit-type of (Dying unit)) Equal to runner) then do (Unit - Create 1 tagger for (Owner of (Dying unit)) at (Position of (Dying unit)) facing 0.00 degrees) else do (Do nothing)
Quest - Display to (All players) the Warning message: (Name of (Owner of (Dying unit)))

this is another trigger to make it untagged.
Trigger:
untagged
Collapse Events
Unit - A unit Is attacked
Conditions
Collapse Actions
Unit - Create 1 runner for (Owner of (Attacking unit)) at (Position of (Attacking unit)) facing 0.00 degrees

but thats wroug becaue when the tagger tags some one i get a big mess units.
03-03-2006, 07:42 PM#12
Ice_Keese
Use conditions, like I did...
03-03-2006, 08:02 PM#13
BlinkBoy
Better make this, one you create the new tagger, call pause unit then make it wait [as much seconds as you wish] and then unpause the unit.

like this:

Trigger:
Actions
Unit - Pause (Triggering unit)
Wait 5.00 seconds
Unit - Unpause (Triggering unit)
03-03-2006, 08:05 PM#14
Anitarf
Just, whenever a unit dies, and the dying unit is a runner and the killing unit is a tagger, replace the killing unit with a runner (unit - replace action) and create a tagger for owner of dying unit after a delay, like you do now. There, all done in one trigger.

For the alliance part, just pick every player in player group - (all players), and make him treat the owner of killing unit (who was a tagger but now becomes a runner) as ally and the owner of dying unit (who was a runner but now becomes a tagger) as the enemy.
03-03-2006, 09:17 PM#15
evilmapcreater
the trigger dident work. well i dont no if u guys were trying to tell me to make it like this
Trigger:
allince
Collapse Events
Unit - A unit Dies
Collapse Conditions
((Unit-type of (Dying unit)) Equal to runner) and ((Unit-type of (Attacking unit)) Equal to tagger)
Collapse Actions
Unit - Replace (Attacking unit) with a runner using The new unit's default life and mana
Player Group - Make (All players) treat (Player group((Owner of (Attacking unit)))) as an Ally with shared vision
Player Group - Make (All players) treat (Player group((Owner of (Dying unit)))) as an Enemy
Wait 5.00 seconds
Unit - Create 1 tagger for (Owner of (Dying unit)) at (Position of (Dying unit)) facing 0.00 degrees
what happened is when a tagger attacks the runner, the runner simply dies, nothing happens just the runner dies. plz tell me my mistake.