| 03-13-2007, 01:44 AM | #1 |
i would like to figure out how to track the unit and set it to a variable that trips a landmine or stasis ward. Is it possible? |
| 03-13-2007, 02:06 AM | #2 |
Uhh...I don't think so. But I suppose it is technically possible to trigger the landmine effect. |
| 03-13-2007, 02:25 AM | #3 |
You probably don't understand JASS, but here's a link to me editing Tiku's "Frost Mine". If you understand that, it may help you to trigger your own mine spells. |
| 03-13-2007, 03:44 AM | #4 | |
Quote:
no dont understand it that well. maybe 10% of it. thx though. not looking for alternative ways to make my own. just wanted to know if it's possible to detect that as it was. |
| 03-13-2007, 10:47 AM | #5 |
Just set it to detect units in the area that would make the mine go off. Since the units in the area that set it off also are in the area that can set it off it would not be exact but would be the easiest way i believe. I cant think of any other way actually ^.^ |
| 03-13-2007, 11:42 AM | #6 | |
Quote:
if you're gonna go that way, why not just trigger the whole thing and be done with it? it allows for perfect reliability at the cost of 5 more minutes coding. (or clicking, if using GUI) also, your english is a bit wonky and hard to understand. Not trying to insult you, just pointing something out from my perspective. |
| 03-13-2007, 12:25 PM | #7 |
what i meant then is that all you need todo is set an "if unit within x" effect around the mine/whatever that is and make x = the range that triggers the mine/whatever. just some 3-4 lines of code. |
| 03-13-2007, 12:27 PM | #8 | |
Quote:
Yes, and to replace the mine / stasis trap effects with simple tirggerd effects is only a few more lines. Thus, why risk one effect not going off while the other does? Edit: Minor spelling / grammer edit. i should do these more often x.X |
| 03-13-2007, 07:15 PM | #9 | |
Quote:
|
