1. Find your way through the deepest dungeon in the 18th Mini Mapping Contest Poll.
    Dismiss Notice
  2. A brave new world lies beyond the seven seas. Join the 34th Modeling Contest today!
    Dismiss Notice
  3. Check out the Staff job openings thread.
    Dismiss Notice
Dismiss Notice
Hive 3 Remoosed BETA - NOW LIVE. Go check it out at BETA Hive Workshop! Post your feedback in this new forum BETA Feedback.
Dismiss Notice
60,000 passwords have been reset on July 8, 2019. If you cannot login, read this.

[Solved] Get an ability (integer) from a string

Discussion in 'World Editor Help Zone' started by Say41Plz, Jul 14, 2013.

  1. Say41Plz

    Say41Plz

    Joined:
    Dec 16, 2012
    Messages:
    10
    Resources:
    0
    Resources:
    0
    Just checked the thread, sorry for not answering earlier.
    Mr. Bean's suggestion seems to be the best idea so far; I figured it out earlier, but I thought there was some other way to do it without using more variables.
    Btw, I knew abilties were variable values (looked it in the JASS api browser), but didn't know AbilityId function does not work properly (I tried using that function before asking for help) as well as some other mentioned; that's Blizzard for you, I guess xD.

    Thanks to you all for your help!
     
  2. deathismyfriend

    deathismyfriend

    Joined:
    Oct 24, 2012
    Messages:
    6,526
    Resources:
    14
    Spells:
    12
    Tutorials:
    2
    Resources:
    14
    ok glad u found ur answer.