1. A slave to two rhythms, the 22nd Terraining Contest is here.
    Dismiss Notice
  2. The heavens smile on the old faithful. The 16th Techtree Contest has begun.
    Dismiss Notice
  3. The die is cast - the 6th Melee Mapping Contest results have been announced. Onward to the Hive Cup!
    Dismiss Notice
  4. The glory of the 20th Icon Contest is yours for the taking!
    Dismiss Notice
  5. Shoot to thrill, play to kill. Sate your hunger with the 33rd Modeling Contest!
    Dismiss Notice
  6. Do you hear boss music? It's the 17th Mini Mapping Contest!
    Dismiss Notice
  7. Check out the Staff job openings thread.
    Dismiss Notice
Dismiss Notice
60,000 passwords have been reset on July 8, 2019. If you cannot login, read this.

Ability, Target water instead of ground?

Discussion in 'World Editor Help Zone' started by ikillforeyou, Apr 16, 2009.

  1. ikillforeyou

    ikillforeyou

    Joined:
    Jun 10, 2008
    Messages:
    1,340
    Resources:
    33
    Models:
    22
    Icons:
    9
    Packs:
    1
    Tutorials:
    1
    Resources:
    33
    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: Apr 17, 2009
  2. nerovesper

    nerovesper

    Joined:
    Sep 29, 2008
    Messages:
    614
    Resources:
    2
    Maps:
    1
    Spells:
    1
    Resources:
    2
    How about you make a condition like this for checking water.

    • (Terrain pathing at (Your Target Point) of type Floatability is off) Equal to False


    Then order the unit to stop when it is casted on land.
     
  3. DarkAngelAzazel

    DarkAngelAzazel

    Joined:
    Sep 14, 2008
    Messages:
    1,308
    Resources:
    0
    Resources:
    0
    try making the units flying. I don't think normal units can be created on water
     
  4. The_wand_mirror

    The_wand_mirror

    Joined:
    Sep 24, 2006
    Messages:
    4,273
    Resources:
    0
    Resources:
    0
    Can't you make him a ship but then with a melee attack, then set the targets to something like Amphibious or anything. Or you make the ships mechanical, and set it so he can only attack mechnicals thus ships.
     
  5. ikillforeyou

    ikillforeyou

    Joined:
    Jun 10, 2008
    Messages:
    1,340
    Resources:
    33
    Models:
    22
    Icons:
    9
    Packs:
    1
    Tutorials:
    1
    Resources:
    33
    hmm, it wouldn't work if i made the units flying and i'll try to do somthing else, is there any abilities, i dont care what they do that target only water?
     
  6. nerovesper

    nerovesper

    Joined:
    Sep 29, 2008
    Messages:
    614
    Resources:
    2
    Maps:
    1
    Spells:
    1
    Resources:
    2
    there in no ability that targets only water. just do it on triggers.
     
  7. ikillforeyou

    ikillforeyou

    Joined:
    Jun 10, 2008
    Messages:
    1,340
    Resources:
    33
    Models:
    22
    Icons:
    9
    Packs:
    1
    Tutorials:
    1
    Resources:
    33
    nero, i meant like Unit - a unit finishes casting an ability
    Ability being cast equal to TARGET WATER ABILITY
    Unit - Create 10 Tenticles at target point of ability being cast
     
  8. nerovesper

    nerovesper

    Joined:
    Sep 29, 2008
    Messages:
    614
    Resources:
    2
    Maps:
    1
    Spells:
    1
    Resources:
    2
    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
     
  9. ikillforeyou

    ikillforeyou

    Joined:
    Jun 10, 2008
    Messages:
    1,340
    Resources:
    33
    Models:
    22
    Icons:
    9
    Packs:
    1
    Tutorials:
    1
    Resources:
    33
    what ability should i use? i dont want to use animate dead...
     
  10. nerovesper

    nerovesper

    Joined:
    Sep 29, 2008
    Messages:
    614
    Resources:
    2
    Maps:
    1
    Spells:
    1
    Resources:
    2
    I think you should base it on breath of fire. This spell doesn't allow to target outside the playable area.
     
  11. ikillforeyou

    ikillforeyou

    Joined:
    Jun 10, 2008
    Messages:
    1,340
    Resources:
    33
    Models:
    22
    Icons:
    9
    Packs:
    1
    Tutorials:
    1
    Resources:
    33
    k, rep added! :D this'll work, i already tested it, and it works. Alot more complicated then i would of liked though
     
  12. jadegolem

    jadegolem

    Joined:
    Feb 1, 2008
    Messages:
    293
    Resources:
    0
    Resources:
    0
    Amphibios are water units. You can set the target type to Amphibous only. Atleast thats what I think last time I checked WE.