| 05-11-2007, 08:17 AM | #1 |
I got an other question I've got a map, its in development. Its a towerdefense, but not just that, its an item tower defense, where you have put items in towerslots to make them effective (attacking, supporting) Depending on the level of the tower(1 to 6) there 1 to 6 free item slots. I made Phoenix Fire as custom autoweapons and add them to items. Phoenix Fire has these advantages: -Stackable (You can stack the same weapon) -Nearly any possible weapon available without need of other towers -Items can be combined to bigger one(simple trigger to fix that) But theres one disadvantage i don't like: -Random targets in range. What i want is to manipulate the ability Phoenix Fire, that it only attacks the unit what is attacked by the tower holding the items. e.g: A Rifleman a Footman and a Headhunter are in range of the tower, the tower attacks the headhunter. All items containing the Phoenix Fire abillity equiped by the tower will attack the headhunter, ignoring the other units in range. How can i set up something like this, or need i just an another spell? remember, i want to keep the 3 advantages of Phoenix Fire i described some lines above. sorry i missplaced this post, it meant to be at the first forum "general development"or something |
| 05-11-2007, 10:26 AM | #2 |
I don't think that can be done by the ability, but I'm sure it can be done via some complicated dummy system. The advantage of the dummy system is that you have access to poison, frost, bash, critical strike etc. Do not ask me how to create this dummy system, all I know is that it should be possible to get what you want this way... But I know sure as shizzum that you can't do this via the ability. BTW - It is meant to be in the Gen. Development section. |
| 05-11-2007, 05:57 PM | #3 |
Considering that he's going to need to trigger this, it doesn't need to be moved to General Development. You're going to need the "Every X seconds of Game-Time" event. |
| 05-11-2007, 06:10 PM | #4 | |
Quote:
I think dummy attackers are the best way to do it, minimal triggering involved because the towers are not mobile, I assume (meaning the position of the turrets needs not be updated). I could post a code from a map I was working on some time ago but despite being updated recently, the code is still terribly obsolete. Besides, it's in JASS, not sure if you are willing to tackle that. |
| 05-11-2007, 09:29 PM | #5 |
Wouldn't an even easier way in GUI to just make it based on events like drops and acquires items and kills and creates dummy turrets respectively? |
| 05-12-2007, 12:32 AM | #6 | |
Quote:
I was thinking of using unit-groups and detecting targets... Dummy attackers definitely makes more sense. |
| 05-12-2007, 08:18 AM | #7 | ||
Quote:
Quote:
|
