HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

3 Problems: Reveal, Cluster Rockets & triggered spell

11-17-2006, 08:53 AM#1
Moss
First problem: I want an ability on a unit that lets them teleport to certain nodes they control on the map. The catch is I want it to charge gold plus I want the targeting to behave like Scroll of Town Portal (just clicking nearby on the minimap). My solution was to start off with an ability based on Reveal from the Goblin Laboratory and then use a trigger to grab the location target from that ability, swap it for an ability based on SoTP and order the unit to use the new ability on the same location. The problem with that is apparently "Target point of Ability being cast" means nothing with Reveal. Any suggestions?

Second problem: I can't get Cluster Rockets to damage trees.

EDIT: Nevermind the third problem, I was forgetting to pause the unit before giving the stop order. I guess you are always supposed to do that eh? I have done it before but only because I saw other people do it, I didn't realize it was actually important!
Third problem: I have a triggered ability based on Channel. It is supposed to give a simulated error and order the unit to stop if their mana is less than their health. The weird thing that is happening is that the unit is stopping, the cooldown doesn't start on the ability, but the mana gets subtracted anyway! Is that normal? The trigger doesn't mess with mana at all, it only reads what it is at. It is charging the mana cost for the spell even though the spell wasn't cast. There is a slight delay before the mana is used, if that means anything.
11-17-2006, 06:36 PM#2
Panto
Why don't you give your nodes the townhall classification and use the Scroll of Town Portal ability itself?
11-17-2006, 08:02 PM#3
Av3n
Umm why don't you use the barible for where it is cast(the point) then make it around that point destroy all destructables.

-Av3n
11-17-2006, 08:30 PM#4
Turkey_Slayer
The trees might have too much HP.
11-17-2006, 08:50 PM#5
Moss
Quote:
Originally Posted by Panto
Why don't you give your nodes the townhall classification and use the Scroll of Town Portal ability itself?

That is exactly what I have done, that is not the problem. I guess you didn't read my post carefully. The problem is I want to charge gold, which SoTP doesn't do. Read my first post again.

Quote:
Umm why don't you use the barible for where it is cast(the point) then make it around that point destroy all destructables.

What? I guess you are talking about the Cluster Rockets. And I guess you are saying I should use triggers to destroy the trees. I guess I could do that, I would just need a timer to wait for a certain time equal to the distance from the caster divided by speed of the rockets. Plus I would need to make sure that it doesn't destroy any particular important destructibles. But that is weird that it doesn't destroy trees when you set them as a target in the object editor.
11-17-2006, 09:18 PM#6
Av3n
Propaly Cluster Rockets aren't design to attack destructibles though,

-Av3n
11-17-2006, 09:35 PM#7
TaintedReality
Quote:
That is exactly what I have done, that is not the problem. I guess you didn't read my post carefully. The problem is I want to charge gold, which SoTP doesn't do. Read my first post again.

So when they start casting the ability, check if they have enough gold. If not, order them to stop, if so, do nothing. When they actually cast the spell, subtract the gold.
11-17-2006, 10:20 PM#8
Moss
Quote:
Originally Posted by TaintedReality
So when they start casting the ability, check if they have enough gold. If not, order them to stop, if so, do nothing. When they actually cast the spell, subtract the gold.

But then it doesn't show the gold cost on the ability with the little icon.
11-18-2006, 12:05 AM#9
Av3n
Write it down in the text box

-Av3n
11-18-2006, 03:59 AM#10
Moss
Fine, if that is the only way.

But why doesn't Reveal return a location? Grr, I wish Warcraft abilities were consistent.
11-18-2006, 04:06 AM#11
Av3n
Well Reveal isn't the way to go, use Panto's suggestion, it is possibly the only way.

-Av3n