i wanna learna trigger how to add a penalty if u bs ur partner
like if u kill ur partner units ull crash
NOT the disabling unallying trigger and i know how to dot he crashing part....
i dont think there's a way to detect if u killed your ally's units......but u can add a banning system

maybe if u kill something in an area where enemy units cant go u can put a trigger to make the player lose
| Trigger |
| Players: |
| ¤ current player |
| Conditions: |
¤ score is 1 kill for current player
|
| ¤ "team mate" sufferd 1 death of unit |
| Actions: |
¤ set kill score to 0 for current player
|
¤ set deaths for "team mate" to 0.
|
¤ display text: DONT BS!
|
¤ Deafet for current Player.
|
¤ Pressurve (only if you just want to warn player, if so remove deafet)
|
| ¤ comment |
there it is!
what happens if ally died by enemy at the same time that bser attacked another of ally's unit?
it wont be 100% accurate....maybe with hyper triggers it will work better
well actually if its a one on one body to body fight you can by detecting the two units on a location a 2x2 or 1x1 the smaller you can and after the unit dies
(everytime it dies) create a flag and remove it veryfast so when the trigger detects a unit and a flag for the other player you start the other trigger for the crashing (lol crashing)
and actually, this method its 78% accurate becuz you can always go to the flag or you were next to him but u didn't kill him and a 0% becuz the locations are only detecting units near
but creating flags for every death.....what if its a massing game like golemz :0
and what happens if one enemy and one bser is in that location with 2 of the ally's units?
the enemy attacks one ally's units and the bser attacks the other......
NO NO!
of course no after every dead you will create a flag but you will remove it DUH!
actually haven't considered the idea of a massing game so hmm...
make a snipers becuz i thought it was a snipers game so make one
and please specify the kind of map you are making
A massing game the constant allying will do, since the 1 kill every 2 seconds or something like that won't be too game altering in a massing game.
an easy way to prevent this is a
"Ally Player 1,2,3,etc"
then
Preserve trigger.
no bsing occurs.
they used this in the team lazer tag maps right?
i was able to attack my partners with lings and melee units.....but if ur using this for a snipers game, then it would be good enuff
QUOTE(AgenT_Nick @ Jan 28 2006, 08:46 PM)
| Trigger |
| Players: |
| ¤ current player |
| Conditions: |
¤ score is 1 kill for current player
|
| ¤ "team mate" sufferd 1 death of unit |
| Actions: |
¤ set kill score to 0 for current player
|
¤ set deaths for "team mate" to 0.
|
¤ display text: DONT BS!
|
¤ Deafet for current Player.
|
¤ Pressurve (only if you just want to warn player, if so remove deafet)
|
| ¤ comment |
there it is!
[right][snapback]415441[/snapback][/right]
Detecting/setting deaths for non-specific units will not work right, you'll have to select them individually. In addition, you need triggers to reset kill scores / death counts when both conditions are not set.
wow...didn't know you could actually trigger something like this. cool triggers. im gonna use these in my map
QUOTE(CasCaDe @ Jan 28 2006, 07:41 PM)
like if u kill ur partner units ull crash
[right][snapback]415435[/snapback][/right]
Don't make it so you crash. It's annoying for the people who aren't crashing, because they have to wait for a drop screen.
The way you could do this is by having lets say a 4v4 map. Off to the side where enemies couldnt get to it. Have a 2x1 spot that has you and another ally on it so.
1 1 1 2 2 3
2 3 4 3 4 4
So that if 1 is in the 1st box and 2 isnt 1 would get defeat because he unallied and therfor the 1 unit would kill the 2 unit. Very good system in fact and it has 100% working chance.
wat if u attack them without unallying?
I dont really need to know this things lol I BS people most of the time

la la la la
I know a good one. You can have the trigger condition as team player: current player kills 1 any unit and then end scenario in defeat. Or you can even have kill all units function wait 1000 milliseconds and then have text messages lecturing him about how bs is wrong. Or (hehe) have a wav file singing "My humps" over and over again torchuring the bser with the ultimate penalty!
........so if u kill anyone at all u lose? u might wanna rephrase that cuz either im not fully understanding or u dont know what he asked for
QUOTE
I know a good one. You can have the trigger condition as team player: current player kills 1 any unit and then end scenario in defeat. Or you can even have kill all units function wait 1000 milliseconds and then have text messages lecturing him about how bs is wrong. Or (hehe) have a wav file singing "My humps" over and over again torchuring the bser with the ultimate penalty!
yea but wat if u didnt bs? mayb u only killed the enemy
The DBZ Fortress system also works. Whenever you lose a unit, you lose life points. Therefore, leeching becomes a double-edged sword.
In the case of maps such as Snowball Warz, however, the method mentioned by Agent Nick is a very good implementation. With Hyper Triggers, it has an infinitesimal chance of backfiring.
Will work on a concept map.
It really just depends on how you want to do it.
Are you talking about an rpg type game? Or a melee type game?
For an rpg type game its its alot easier, but for a melee type game it's alot harder.
Which will it be?
If you just want people to not unally, you can have triggers where each team has men in an off map area that isn't accesable by normal units owned by either player, then have triggers for each memeber of a team saying "Foes brings at least 1 men to "check"", which would then execute whatever actions you wished.
QUOTE(Oo.Vic.oO @ Jan 29 2006, 07:52 PM)
wat if u attack them without unallying?
[right][snapback]416465[/snapback][/right]
My system will make it auto-unally of sorts. They cant bs you effectivly if they cant unally you. Also you could back it up with triggers but this should work just fine for the most part.
You could set it up like this.
Player 1 is allied to player 2, and visa versa.
Conditions:
Player 1 brings at least 1 any unit anywhere.
Player 2 brings at least 1 any unit anywhere.
Allies bring exactly 0 units anywhere.
Actions:
Display text: You unallied you beanie.
Crash.
This would work for either player I believe, unless your own player counts as an ally. I suppose you could have it so player 1 is unallied with himself. (Or herself)
And people could still bs without unallying, in which case you could simply set it so alliance status is always on and it's impossible to attack your allies.

No, Ally on Hyper Triggers only prevents most types of ground attack. It does not prevent all Air to Ground, Air to Air, or Zergling damage.