| 04-03-2004, 02:17 AM | #1 |
As of now I can't locate any buffs/abilities that will award bounties upon death. Using triggers + invisible casting unit(s) to cast abilities on a large group of units on behalf of the given player (in this case lets say Player 1) wont award bounty if they die via shadow strike, or parasite, or doom, etc. Can anyone think of a work around for this? I want to cast a duration ability that will hurt them, and if they die because of that "buff" or whatever, then the bounty for that kill is given to the player who owned the unit that cast the spell (for the sake of creating invisible units, casting the ability, then removing them from the game). Idea's? |
| 04-03-2004, 02:44 AM | #2 |
Player- set property - give bounty - to true. What you'll want to do is first put the unit in a variable, then check every now and then to see if he's dead. Or rather, when he's close to death. Then right before he dies, turn bounty on. Then turn it back off after his death. |
| 04-03-2004, 09:34 AM | #3 | |
Quote:
Actually.. to simplify things: I'm working off DasJanks trigger spell map, the one with Chaotic Hell. The giant pentagram of fire that casts a NORMALLY friendly spell (Unholy Frenzy) on the enemies.. and when they die from it, nothing. I've tried a couple variations with no luck. So if either of you is familiar with that map then you'll get a better idea of what I'm trying to do.=] Edit: And knowing this information will help me drastically later on with creating invisible casting units.. (dummy units I guess they're called right?) |
| 04-03-2004, 08:13 PM | #4 | |
Quote:
Yes yes, I know. But it isn't working. It spawns the unit for the owning player, casts the spells, then is removed from the game. The units die, and voila, that's it. Nothing! |
| 04-03-2004, 10:04 PM | #5 |
Use shadowstrike with no missile instead of unholy frenzy or something, unholy frenzy doesn't give bounty / experience |
| 04-04-2004, 09:17 PM | #6 | |
Quote:
Yes that's what I'm saying.. I've actually tried DIFFERENT spells with the same result.. infact, using parasite or shadowstrike, even with a cooldown of 0 and a mana cost of 0, only casts it on one of the units in the given picked area.. Actually I haven't tried a shadowstrike variation. I'll try that. Thanks for the tip Vex, I'll bother you if it doesn't work. :P |
| 04-05-2004, 12:55 AM | #7 |
[quote=only casts it on one of the units in the given picked area..[/QUOTE] And that's when you create a dummy caster for each unit you are casting a spell upon. |
| 04-05-2004, 03:30 AM | #8 |
Holy fsck.. you serious? You have to create a caster for *each* unit? I'm a bit confused because a single caster *can* cast unholy frenzy, and cripple on a large group of units. DasJanks Chaotic Hell spell looks like this near the end, which is where the casting happens: Code:
Unit - Create 1 Chaotic Hell for Player 2 (Blue) at (Position of GatesOfHellCaster) facing Default building facing (270.0) degrees Set GroundSlammer = (Last created unit) Unit Group - Pick every unit in (Units within 500.00 of (Position of GatesOfHellCaster)) and do (Unit - Remove All buffs from (Picked unit)) Unit Group - Pick every unit in (Units within 500.00 of (Position of GatesOfHellCaster)) and do (Unit - Order GroundSlammer to Undead Necromancer - Cripple (Picked unit)) Unit Group - Pick every unit in (Units within 500.00 of (Position of GatesOfHellCaster)) and do (Unit - Order GroundSlammer to Undead Necromancer - Unholy Frenzy (Picked unit)) Wait 2.00 seconds Unit - Remove GroundSlammer from the game Now there's a bit more to it, but nothing that involves casting. You'll notice the two abilities that are cast on an entire unit group. It works. No problem, no strife. However, the units that die because of unholy frenzy do not award bounty. That's a problem when you're talking about 20 units or so... I'll toy around some more, and a bit with spawning a caster per unit in the area.. You guys f'cking rock. Your help and everything make learning this trigger system and everything a hella more interesting and.. uh.. "educational". This world needs more selfless people like you all. |
| 04-05-2004, 05:02 AM | #9 | |
Quote:
Is it possible to loop something like that with a life of 0 so that all the picked units are instantly affected? And, once that unit is *removed* from the game, does the bounty still apply for the player that cast it? You know.. like.. once that unit is gone the game doesn't go "Well uh, this unit cast it.. but like.. it's not here anymore so nevermind." That's an awesome solution though, I'll try it out and cross reference that suggestion with DasJank.. =D |
| 04-05-2004, 08:23 PM | #10 | |
Quote:
GENIOUS! I'll try it out when I get home tonight.. |
