| 05-21-2006, 01:09 AM | #2 |
Phoenix fire is the kind of ability that is easier to emulate than detect |
| 05-21-2006, 01:15 AM | #3 |
Wouldn't damage detection together with the buff left behind by the ability make it simple enough? |
| 05-21-2006, 01:39 AM | #4 |
not as simple as emulating it |
| 05-21-2006, 03:01 AM | #5 |
How does one emulate it? |
| 05-21-2006, 08:49 AM | #6 |
Hmmm not sure what you mean.. The bounty of the kill is automatically assigned without triggers. See battleships for instance. The problem is detecting when a unit attacks with phoniex fire, in which the unit attacked unit does not die. |
| 05-21-2006, 08:57 AM | #7 |
Yeah the bounty is correct, but the problem is that my current method of detecting pheonix fire does not record the player it came from, hence if it the ability the dummy unit casts kills the unit, then the bounty does not go to the player that initally fired it. Have a look at my trigger code up top. Anyways, Vexorian - How do i emulate it? |
| 05-21-2006, 09:15 AM | #8 |
I disagree with Vex on this one, emulating the projectiles is more work than simply detecting damage from phoenix fire. Once a system for detecting damage is made, the job is more or less done; you just have to check for specific buffs left behind by those phoenix fire based attacks that are supposed to have special effects and apply those effects. Granted, a good damage detection system needs some Jass, but so would a phoenix fire emulation system. |
| 05-21-2006, 09:52 AM | #9 |
You could also use a different phoenix fire ability for each player (with a different buff). Then you'd be able to tell which player it was by the buff. |
| 05-21-2006, 10:57 AM | #10 |
Yeah i thought about having a different buff for each player, but then i would need to do that for every weapon. Can someone suggest a starting point/sample code for a damage detection system? I dont know JASS, but am willing to learn if i have no other method. |
| 05-21-2006, 12:48 PM | #11 | |
Quote:
Missiles are really easy to make, just make some dummy cast acid bomb to the targets, you'll need acid bomb anyways for the damage and the buff |
| 05-21-2006, 12:54 PM | #12 | |
Quote:
|
| 05-22-2006, 02:04 AM | #13 |
im confused? How will this allow me to detect the initial player that fired??? |
| 05-22-2006, 09:15 AM | #14 |
The Damage Source event response to the Unit takes damage event. |
