Call artillery skill

Status
Not open for further replies.
Level 7
Joined
Dec 5, 2013
Messages
280
I would like to create cannon type unit in base, which can issue bombardment at any point in the map as long as its revealed by other units, but I have no idea where to even start.
 
I would base it off either Far Sight or Channel (I would stick to channel as it has the "Follow through time" field).

When cannon is issued the order to cast this ability, check the target point if that area is revealed (dunno if there is function for that, as I had no need for that so far, however you could create a unit group with units within X range and check if any is close enough to the point to see it). If no unit is in there, you order cannon to stop (this will prevent mana from being drained and cooldown from starting).

Then when he does successfuly start the cast (if it should work like that atom bomb or whatever it is in SC2), you periodically check the visibility around target point (like every 0,5 seconds or so).

If all is well you just start the bombardment.
 
In summary, I just want cannon type unit which works basicly same way as blizzard but with unlimited range. Could it be as simple as just making custom blizzard?
 
in a sense, yes. Though rain of fire may be better (it also sets unit ablaze, which could work well with bombs). Problem may be finding correct "bomb" projectile effect, as blizzard and rain of fire are both effects which show the projectile to fall down - they are not real projectiles, only effects.

And of course checking if target point is visible.
 
Status
Not open for further replies.
Back
Top