Recent content by Silvenon

  1. S

    Snippet Event

    I don't think those functions are necessary. For example, I think this: local Event e = Event.create() is much better than: local Event e = CreateEvent() And that goes for the rest of the functions. It's better to make the struct act like one, it's easier to use, since other people do that...
  2. S

    Play Sound For Player 1

    The PreloadSoundPath is used because sounds don't play the first time you play them. They need to load first.
  3. S

    Play Sound For Player 1

    Actions Custom script: if GetLocalPlayer() == Player(0) then Custom script: call StartSound(gg_snd...) Custom script: endif Brackets after Player (where the zero is) hold the index of a player, but in JASS it starts from 0, not from 1, so Player(0) is Player 1, Player(1) is...
  4. S

    TESH for NewGen

    Yeah, exactly what I mean...but I can live with it (usually I just have [] in my clipboard).
  5. S

    TESH for NewGen

    I think it would be cool if Alt Gr wasn't a search shortcut, because it gets kinda irritating when using arrays ([]).
  6. S

    Need vJASS help - Custom Polymorph

    Copied from PitzerMike's tutorial: But that method is apparently a bit buggy with heroes. But that's the only way I could think of.
  7. S

    System AreaEvent

    Sounds cool to me. It would be awesome if you develop this to a ultimate pwning system with all the shapes anyone could ever think of. This requires a fine knowledge of geometry though. You could also add a irregular rectangular? Maybe go into polygons too? Anyways, I'm interested :D
  8. S

    JassCraft - Outdated ?

    JassCraft is still a pretty handy program if you don't want to open WE for a few lines of code. I still keep it for some situations.
  9. S

    Dota's water color, how does it work?

    That means you need help to do that or what? I don't understand.
  10. S

    Terrain Ideas For a Scary Map?

    Well, you can have doors that are sometimes opened and sometimes closed, which can screw up your escape :D I suggest you make the killer a little weird, at least concerning movement. He can sometimes move really fast, he can constantly change transparency etc. For example, he can just run...
  11. S

    Need vJASS help - Custom Polymorph

    Maybe you can create a custom polymorph ability that doesn't display the buff at all (give it an empty buff).
  12. S

    need help optimizing this

    I suggest replacing EnumDestructablesInCircleBJ. scope regrowtrees initializer Init private function Conditions takes nothing returns boolean return GetSpellAbilityId() == 'tGrw' endfunction private function regrow takes nothing returns nothing call DestructableRestoreLife(...
  13. S

    Cliffs Change?

    Er, replace tileset in "Advanced"? Or something like that.
  14. S

    Little Jass system not working

    Is there any other code in your map that might have caused the crash? Are there any imported stuff that could malfunction? If you don't know what else could be the problem, I suggest maybe posting the map?
  15. S

    Little Jass system not working

    I'm not completely sure, but I'll post all the possibilities. function GroupCheckCond_func takes nothing returns boolean return ( IsUnitAlly(GetEnumUnit(), GetOwningPlayer(GetTriggerUnit())) == true ) endfunction I'm pretty sure that GetTriggerUnit() doesn't work when you call it from a...
Top