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. DID YOU KNOW - That you can unlock new rank icons by posting on the forums or winning contests? Click here to customize your rank or read our User Rank Policy to see a list of ranks that you can unlock. Have you won a contest and still havn't received your rank award? Then please contact the administration.
    Dismiss Notice
  3. The Lich King demands your service! We've reached the 19th edition of the Icon Contest. Come along and make some chilling servants for the one true king.
    Dismiss Notice
  4. The 4th SFX Contest has started. Be sure to participate and have a fun factor in it.
    Dismiss Notice
  5. The poll for the 21st Terraining Contest is LIVE. Be sure to check out the entries and vote for one.
    Dismiss Notice
  6. The results are out! Check them out.
    Dismiss Notice
  7. Don’t forget to sign up for the Hive Cup. There’s a 555 EUR prize pool. Sign up now!
    Dismiss Notice
  8. The Hive Workshop Cup contest results have been announced! See the maps that'll be featured in the Hive Workshop Cup tournament!
    Dismiss Notice
  9. 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.
Nightmare Moon
Last Activity:
Mar 8, 2015
Joined:
Apr 16, 2010
Messages:
575
Birthday:
Jul 2, 1992 (Age: 27)

Nightmare Moon

Well-Known Member, 27

Nightmare Moon was last seen:
Mar 8, 2015
    1. Tleno
      Tleno
      Oh great pony name...
    2. Archangel678
      Archangel678
      Ooo new name ^^
    3. defskull
      defskull
      Distance is the distance where we target it, test the spell and cast it in a short range and long range
      You can "feel" the difference and where it stops
      For your spell, you doesn't use Speed = Distance / Formula, that's why anywhere you target, the distance will be the same whereas my spell formula, your unit will get to the targeted location, EXACTLY, it doesn't offset pre-setly just like your spell, always goes to 1000 range, but the player targets in a short range like 400 or 600 perhaps
    4. defskull
      defskull
      D - o - n - e :d
    5. defskull
      defskull
      Haha to hell with it that I'm going to give up, NOT A CHANCE :)
      This is defskull, over. defskull never quits :)
    6. defskull
      defskull
      I'm gonna eat for awhile, hey, gotta fill up my energy :)
      (F*** FORMULA SO DAMN HARD, BEEN WORKING ALL DAY!, but if I succeed... I'd be proud hehe)
    7. defskull
      defskull
      I'm getting towards the solution... Wait just a bit...
    8. Maker
      Maker
      Still having the problem? If you're going to do it in vJASS then I won't check the GUI version.

      The compile error is due to mistyped returns. You typed "retuns".

      A few notes about the vJASS thing:
      *Wrap things inside a scope.
      *Use private and constant definitions in functions and variables.
      * Don't use locations, use coordinates.
    9. Adiktuz
    10. Adiktuz
      Adiktuz
      from the vJASS OOP tutorial on the tut sections and then asking TRD about the things I don't understand...
    11. Adiktuz
      Adiktuz
      yeah, you should try it out...
    12. Adiktuz
      Adiktuz
      took me a few days to learn structs...
    13. Adiktuz
      Adiktuz
      yeah he started with the structs... I found it hard too on the start (The_Reborn_Devil forced me to learn structs on my very first spell resource)
    14. Adiktuz
      Adiktuz
      Dr. Boom's method is better than yours, though since its vJASS, when using timers, its more advisable to just use T32 or TimerUtils, than creating and destroying timers... and you won't even be needing the hashtable if you do that...

      in your case, I would suggest using T32...

      also, on your code, you made the function Check, but never used it... and anyway, it won't work with the timer event...
    15. Adiktuz
      Adiktuz
      send it to me... ^.^
    16. Dr. Boom
      Dr. Boom
      Well again^^ there is more then one way to code vJass. I only now my way I gave you, I didn't work the other ways, so I can't say something to it sorry^^

      But in my way the first one is wrong because at all you just need to create one local timer, because the create method starts the timer, so the Loop method will run every 0.03 or 0.04 seconds
    17. Dr. Boom
      Dr. Boom
      ----------
      But what if i did the spell with my first version of JASS code, would it be that wrong?
      ----------
      What you mean with this?^^
      Also well, you don't need to rep me again, it's cool when I can help someone with vJass.

      Note: Well learning vJass in just 2 or 3 days would be stupid anyway, because personally I can learn many things even now, vJass is at all this complex you can learn new things even after a year^^
    18. Dr. Boom
      Dr. Boom
      Yeah sorry my fault ^^

      call TriggerAddCondition(t,Condition(function cast))

      Must look like this then^^
    19. Dr. Boom
      Dr. Boom
      Well as I said there are more ways to use vJass. For my way yes you just need one to store the timer but this isn't a big problem at all
    20. Dr. Boom
      Dr. Boom
      Moin moin =)

      Well good that you ask me about the vJass stuff^^

      I send you a little basic struct how the vJass should look like where you can learn from a little.

      If you have more questions, just ask me
  • Loading...
  • Loading...
  • About

    Birthday:
    Jul 2, 1992 (Age: 27)
    WarCraft 3 Realm:
    Northrend (Europe)
    Favourite Race:
    Night Elf
    Favorite Organization/Clan:
    Kirin Tor
  • Loading...