| 09-17-2003, 09:36 PM | #1 |
ok more about a ranged unit if it has the items bows and it runs out it has no attack how do i do that |
| 09-17-2003, 09:37 PM | #2 |
check out the mountain giants war club, it changes the active attack for the unit from 1 to 2 (or 2 to 1, i forget...) and only lasts for a certin # of attacks. Thats the key to doing what you want. |
| 09-17-2003, 09:40 PM | #3 |
ok |
| 09-17-2003, 09:47 PM | #4 |
wut are u smokin |
| 09-17-2003, 09:50 PM | #5 |
I don't think he's smoking at all. That is the key to it. There are other ways, but they are less efficient. |
| 09-17-2003, 09:52 PM | #6 |
well is there a way for an item to requir bows |
| 09-17-2003, 10:35 PM | #7 |
i guess not :( |
| 09-18-2003, 12:12 AM | #8 |
First of all, stop all the double posting. 2nd of all, the Warclub is an ability for the Night Elf Mountain giant. When you pick up a tree, it will enable the 2nd attack for the mountain giant and disable the first. If the 2nd attack was "no attack" it would disable when the ability is used. Use your imagination here. You can start off with no attack, or a melee ranged attack, the user picks up a item that is a bow (unit aquires an item, item is of type (your item) == item being manipulated) Create a tree at a location of the unit (use a custom doodad for this with no shadow or model and no pathing so you never see it happen) Order the unit to use warclub on the last created doodad. There you go, arrows for the bow, that is the basic idea behind what I was talking about. Im sure you can figure out the rest. |
| 09-18-2003, 12:29 AM | #9 |
I'd add more to this, but I'm a little indifferent to Crim's plight ATM. Maybe it's being told that my advice was too little, too late and not needed, and seeing all these posts asking "oK I want yuo to write my trigger for me how i do that" and "guess yuo dont no anything b/c yuo r smokin". Maybe I'm just an asshole with too big an ego. Six of one, half a dozen of the other :p |
| 09-18-2003, 12:33 AM | #10 |
Man. I was just about to post a really detailed thing on Crimsongg137's other post. then it closed. oh well. ill give u the short version. I dont think u can do it with an ability. Use triggers. Use a leaderboard or lumber count or something to count the amount of arrows. Use: Event: Unit owned by (enemy player (or neutral or whatver.)) is attacked Condition: Attacking unit equal to (the unit with the arrows) action: subtract the number of arrows however you want it to be subtracted. Then make an ability or something that makes it so u cant attack. When the arrows run out, give that ability to the guy with the bow. Then, when he buys more arrows, remove that ability. My other explanation was better, but the other thread closed. Oh well. |
| 09-18-2003, 01:12 AM | #11 |
wow alot of arguments here but shiik i dont understand how to subtract |
