Well on my energy defence I have learnt you dont get points by the kill by a spell.The spell I am talking about is the swarm into an explosion like in trigger happy def.I need to know how to make the kill from a spell go to that current players points can someone that is good with spells like tuxlar tell me this?If so just give me a simple trigger example thanks.
1. Separate the explosion/kill triggers and dark swarm triggers (if necessary) and have it ordered so that the explosion/kill triggers occurs after the dark swarm triggers occurs.
2. Insert unit detect triggers right after the dark swarm trigger and before all the kill triggers. When a certain unit is detected, add the score/cash/etc. and commence with the explosion/kill triggers.
or:
(Not Recommended) Have a wait condition and a switch to activate a separate trigger occur before the explosion/kill triggers. Then simply detect the unit and add the score/cash/etc. before the explosion/kill trigger's action takes place.
or u do it on another way:
move the units out of the location to an unused area and make a big bang where the swarm was...
then
check which units are in the unused area on the map and remove them and add the killpoints
Problem is detecting which player cast the dark swarm, there is no perfect way to do this, although, if your map shares money between the players(like in MILES laser tag) you can simply detect the enmies deaths, but obviously this wouldn't work for your map.
OR you can make seperate areas for each defiler that way you can detect whos player swarm is.
I'd recomend opening up trigger happy D to look at the triggers.
EDIT: Oh crap, nvm it's locked. Damnit.
Well yall have helped me to a point but my sawarm turns into a modify hp then switchs te computers player then does it again then kills.It takes 3 shots to kill like in trigger happy d this is kinda why i need tuxlar or his map no offence but this is really a pain.or if tuxlar can meet me on east that would be better or if anyone thats good with spells could.My useast name is S)T-Twitch6000 and i am in channels clan chef,clan boom,and clan oo also i have a msn Twitch5999@hotmail
ADDITION:
Well ok i have found out from jamal there might be 2 ways and probaly only two ways to do this unless i can find out how trigger happy def was done.The first is the reccommend way which i will need explained do seperated locations and then blah blah blah. the other he said if really needed do it where your defiler cant move and he has his own location and some more stuff.
The triggers for trigger happy d were like in this tutorial(written by the maker of trigger happy d)
TutorialWell i got a friend thats going to help he says he has a way to help.