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.

[FINISHED] Spells&Systems Mini-Contest #13

Discussion in 'Triggers & Scripts' started by PurplePoot, May 5, 2008.

  1. marven15

    marven15

    Joined:
    Jan 17, 2007
    Messages:
    177
    Resources:
    0
    Resources:
    0
    Congratulation DoL! XD

    I am satisfied with the points that I got. ^^ XD I promise that i will follow your advices PurplePoot. ^^
     
  2. DiscipleOfLife

    DiscipleOfLife

    Joined:
    Mar 25, 2005
    Messages:
    252
    Resources:
    1
    Icons:
    1
    Resources:
    1
    thx thx :D:D:D

    win came down to 1/10 in triggering points

    lucky me that triggering isn't rated from 0 to 5 anymore :D
     
  3. PurplePoot

    PurplePoot

    Joined:
    Dec 14, 2005
    Messages:
    11,161
    Resources:
    3
    Maps:
    1
    Spells:
    1
    Tutorials:
    1
    Resources:
    3
    Well donut, :p

    At least try to make it more apparent next time then, please (Put a comment in the code or somesuch).
     
  4. donut3.5

    donut3.5

    Joined:
    Feb 22, 2006
    Messages:
    3,392
    Resources:
    31
    Models:
    20
    Icons:
    9
    Maps:
    1
    Tutorials:
    1
    Resources:
    31
    Bah, Documentation is </3 for me :p
    --donut3.5--
     
  5. GhostWolf

    GhostWolf

    Joined:
    Jul 29, 2007
    Messages:
    4,836
    Resources:
    2
    Tools:
    1
    Tutorials:
    1
    Resources:
    2
    It is not as it kills the unit instead of removing it (ruining the coolness of the spell).
    That is, unless you make a trigger that takes a unit that died of your dummy type and remove it, which destroys all the point of it.
     
  6. raft_pl

    raft_pl

    Joined:
    May 27, 2006
    Messages:
    496
    Resources:
    1
    Maps:
    1
    Resources:
    1
    Gratz Disciple :p (a bit late, but i just got back home...)
    And yay, 26p - third place, when checked the others results too :) Didnt think i could get so many points, thought Eccho and Just_Spectating will push me down in the ranking... :p
     
  7. -Berz-

    -Berz-

    Joined:
    Mar 5, 2008
    Messages:
    3,203
    Resources:
    123
    Icons:
    111
    Packs:
    1
    Skins:
    1
    Spells:
    10
    Resources:
    123
    so what i'm a n00b GUI user... so this makes my spell the worse?
    Some people dont just g33k in notepad++, and spend the whole day in front of PC...eeeh it doesn't matter, Dol grats from my side.
     
  8. Ciebron

    Ciebron

    Joined:
    Apr 6, 2008
    Messages:
    760
    Resources:
    2
    Spells:
    2
    Resources:
    2
    jass it the same as GUI really, u know GUI u know jass.
     
  9. GhostWolf

    GhostWolf

    Joined:
    Jul 29, 2007
    Messages:
    4,836
    Resources:
    2
    Tools:
    1
    Tutorials:
    1
    Resources:
    2
    This doesn't have anything to do with notepad++. About being a geek and spending the whole day on a computer, you said g33k - now lets see who spends more time -.-

    Now for the matter, "learning" Jass is simply learning the basics of programming (functions, locals, blablabla), which is one of the... eh... easiest things ?
    This should take you about 1 hour to master. Then for the oh-so-hard-syntax, you have function lists (or you can browse through blizzard.j and common.j).
    Not to mention that the names of about 99% of the functions describe what they do (for example, I always wondered what KillUnit(unit value) does, can you tell me please?).

    And no, I didn't say your spell is bad or anything about you, but it is a fact that a code in Jass and further more vJass will always be better then GUI (unless the coder is an idiot which then would have made also the GUI crappy which means that this is a useless comment).
     
  10. PurplePoot

    PurplePoot

    Joined:
    Dec 14, 2005
    Messages:
    11,161
    Resources:
    3
    Maps:
    1
    Spells:
    1
    Tutorials:
    1
    Resources:
    3
    I'm always more lenient with GUI than with Jass, due to the lack of Jassers here, and thus the marking is different. A 'Jass' spell which was, in fact, converted from a GUI that would earn 10/10 would probably have trouble earning 5.

    Notice how no GUIers got punished for BJs, etc, because they are unavoidable in it.

    And you don't even have to have learned GUI first. They both take time to learn, and one is eminently more useful. The problem is that most haven't heard of it until long after they start, and also that programming is not for everything (But then again, neither is GUI).
     
  11. donut3.5

    donut3.5

    Joined:
    Feb 22, 2006
    Messages:
    3,392
    Resources:
    31
    Models:
    20
    Icons:
    9
    Maps:
    1
    Tutorials:
    1
    Resources:
    31
    Expiration kills, doesn't remove instantly..
    And Poot just said killing is better than removing :p
    --donut3.5--
     
  12. PurplePoot

    PurplePoot

    Joined:
    Dec 14, 2005
    Messages:
    11,161
    Resources:
    3
    Maps:
    1
    Spells:
    1
    Tutorials:
    1
    Resources:
    3
    Removing is deprecated due to the fact that it bypasses any form of detection and thus causes a lot of leaks and other bugs.

    Apparently Hide+Explode is the new rage.
     
  13. DiscipleOfLife

    DiscipleOfLife

    Joined:
    Mar 25, 2005
    Messages:
    252
    Resources:
    1
    Icons:
    1
    Resources:
    1
    I just tested and found out that Kill+Remove triggers death events!

    Code (vJASS):
    call KillUnit(whichUnit)
    call RemoveUnit(whichUnit)

    vs
    Code (vJASS):
    call ShowUnit(whichUnit, false)
    call SetUnitExploded(whichUnit, true)
    call KillUnit(whichUnit)


    If that death event thing is the only buggy thing with RemoveUnit, I'd say the first one is better.
     
  14. PurplePoot

    PurplePoot

    Joined:
    Dec 14, 2005
    Messages:
    11,161
    Resources:
    3
    Maps:
    1
    Spells:
    1
    Tutorials:
    1
    Resources:
    3
    Disciple, do the death events stlll reference the unit, though, or a null unit (due to remove)?
     
  15. DiscipleOfLife

    DiscipleOfLife

    Joined:
    Mar 25, 2005
    Messages:
    252
    Resources:
    1
    Icons:
    1
    Resources:
    1
    The death event fires in between the kill and remove calls, so yes it still references the unit since it hasn't been removed by that time. I also tested if the unit still had its user data during the event just to make sure and it did.
     
  16. donut3.5

    donut3.5

    Joined:
    Feb 22, 2006
    Messages:
    3,392
    Resources:
    31
    Models:
    20
    Icons:
    9
    Maps:
    1
    Tutorials:
    1
    Resources:
    31
    The appeal for exploding units for me is that you can create art effects by setting their "Art - Special" field to something cool.
    --donut3.5--
     
  17. Herman

    Herman

    Joined:
    Aug 20, 2007
    Messages:
    877
    Resources:
    0
    Resources:
    0
    Wait.... the remove unit causes a leak, somehow??

    Who figured that out exactly, because it doesn't seem to make sense to me

    The only thing I can think of is if your using data systems that need the unit to die to clear the leaks, then, yeah the KillUnit() fires the death event, and the remove unit clears it from the game (skipping decay rate)
     
  18. PurplePoot

    PurplePoot

    Joined:
    Dec 14, 2005
    Messages:
    11,161
    Resources:
    3
    Maps:
    1
    Spells:
    1
    Tutorials:
    1
    Resources:
    3
    Herman, it causes leaks if you have anything attached to the unit, seeing as it doesn't give you a chance to clean that stuff up.