• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

Ability, Target water instead of ground?

Status
Not open for further replies.
i need help, i'm making a map and i have a ship <the flying dutchman> that summons a Kraken which spawns tenticles, these are all based off the forgoten one, cept the flying dutchman. What i need is it to target water instead of land. Thanks.

On a completely other note, for the same map <its a bships i've been working on for a while> i'm using the phoenix fire ability for making items that shoot missiles at enemies, if i set the duration normal to 0 it will only shoot the unit once, and if i set it to 0.01 it will interfear with the other cannons, could you help me?

I'll give +rep for either or both of these done, thanks.
 
Last edited:
Level 13
Joined
Sep 29, 2008
Messages
672
Try it like this

  • WaterCheck
    • Events
      • Unit - A unit Finishes casting an ability
    • Conditions
      • (Ability being cast) Equal to Your Spell
    • Actions
      • Set Leak_Point = (Target point of ability being cast)
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • -------- This checks if the target point is water --------
          • (Terrain pathing at Leak_Point of type Floatability is off) Equal to False
        • Then - Actions
          • Unit - Create 10 Tenticles at Leak_Point....
        • Else - Actions
 
Status
Not open for further replies.
Top