1. Updated Resource Submission Rules: All model & skin resource submissions must now include an in-game screenshot. This is to help speed up the moderation process and to show how the model and/or texture looks like from the in-game camera.
    Dismiss Notice
  2. The 15th Mini-Mapping Contest came to an end. The Secrets of Warcraft 3 are soon to be revealed! Come and vote in the public poll for your favorite maps.
    Dismiss Notice
  3. The 12th incarnation of the Music Contest is LIVE! The theme is Synthwave. Knight Rider needs a song to listen to on his journey. You should definitely have some fun with this theme!
    Dismiss Notice
  4. Join other hivers in a friendly concept-art contest. The contestants have to create a genie coming out of its container. We wish you the best of luck!
    Dismiss Notice
  5. 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.

[Spell] Please need help for spells requirements!

Discussion in 'World Editor Help Zone' started by SouLost, Sep 16, 2016.

  1. SouLost

    SouLost

    Joined:
    Jun 27, 2016
    Messages:
    4
    Resources:
    0
    Resources:
    0
    Hi guys!
    6 month ago I have start make a map, now i have to make the version number 8 and in this version i want add some ''special'' ability....my map is like as LTA (Lordaeron The Aftermath) and in that game i have see some spells that require to be near a point to be casted.

    Example:
    The ability is ''Restore'', in map there is the Sunwell. ''Restore'' ability can cast also near to sunwell.

    How can i make this? If is possible not in JASS language, I'm not good with it.

    thanks in advance
     
  2. pOke

    pOke

    Joined:
    Mar 24, 2013
    Messages:
    1,094
    Resources:
    1
    Maps:
    1
    Resources:
    1
    Put a requirement on the spell in the OE. Make it require a unit called something like, "Being close to Sunwell". This way when they hover it will say Requires being close to sunwell.

    Then detect when your unit is close enough to the sunwell and create the dummy for that player. When they go away kill that dummy.
     
  3. SouLost

    SouLost

    Joined:
    Jun 27, 2016
    Messages:
    4
    Resources:
    0
    Resources:
    0
    I am speechless... It's really easy

    Thanks man!