Search results

  1. L

    Trouble with nested scopes

    Lately, I've been trying to give a little bit more order to my post-processor code, and getting rid of a lot of "requires", but NewGen won't let me nest my scopes. scope Foo initializer FooBar scope Bar endscope private function FooBar takes nothing returns nothing...
  2. L

    Maximum hero skills

    I've tried adding another skill to my hero, but it doesn't allow me. The maximum I'm allowed to have is 5 right now. By this I mean hero skills, as in the ones you may level up through skill points. Is there a way to add more hero-style skills through triggers? I don't want to use excessive...
  3. L

    SetHeroEtc() last field

    call SetHeroStr(hero, value, permanence) call SetHeroAgi(hero, value, permanence) call SetHeroInt(hero, value, permanence) What exactly does it mean by permanence? I haven't seen a reset stats function anywhere, and it seems to behave the same way.
  4. L

    The 300 Spartans!!!...doesn't work anymore...

    I've been trying to find a way to optimize this when I thought of a way to do it. I didn't want 10 individual triggers running each unit death, and came up with this solution, that unfortunately doesn't work. library Sparta initializer Absolute private function End takes nothing...
  5. L

    Issuing order isn't working

    My trouble is trying to get a dummy unit to use a custom Fan of Knives. The trouble is, I already have a non-hero version of it, and I give it to the dummy. The ObjectMerger has already executed. I can't figure it out. :banghead: scope DartSpray globals private...
  6. L

    Dummy Unit not casting

    There's a trouble I'm having with a trigger of mine, and I know the trouble is somewhere in here: library Conditions requires TimerUtils globals private constant integer BLEED_ID = 'B001' private constant integer BLEED_SPELL = 'A004' private constant real...
  7. L

    Snippet Natural Functions

    Earlier this morning, I had realized that there are probably no natural functions in the JASS files, and I figured that I might as well make them in case someone will need them. e^(x) function e0 takes real x returns real return 1. + x + x * x / 2. + x * x * x / 6 + x * x * x * x /...
  8. L

    Game Interface for Chat System

    I've had trouble looking for the fields that I need to change to all spaces to get the invisible chat system to work. I can't find the All, Allies, Referee, etc. fields in the Game Interface options. I also downloaded the example map to search for the purple text showing where it is, but...
  9. L

    Model name

    I've found it before, but I've forgotten it... I'm trying to find the model that's used for Boush's Laser skill in DotA. For those that don't know (and because idk how to post screenshots) it's a blue bubble with an intense white center, with a gradient. It elongates as it moves, so it...
  10. L

    Accessing undeclared Gamecache variables

    If I try to access a variable form gamecache that I haven't declared yet, would it just cancel out of the trigger, or crash the game? I need to know to decide whether to implement it or not.
  11. L

    Multiple trigger actions

    This probably applies more to JASS, but... If you add multiple action functions to a trigger, would they all run when the trigger runs, or replace each other? If they all run, is there a foreseeable order to it?
  12. L

    Reducing current hero XP

    I want to reduce the experience a hero loses by a certain amount, but whenever it should reduce it's experience, there is no effect. I've tried increasing it, and it works, but decreasing it doesn't. Is there a way I can do it without messing with hero levels?
  13. L

    Ally vs Friend

    In the targets allowed for skills, what's the difference between Ally and Friend. My assumption is that Friend includes Neutral Passive, and Ally does not, but there is a Neutral targetting field. Wouldn't that make Friend redundant? Maybe for Neutral Hostile though...
  14. L

    Double destroying

    I've heard that destroying a variable that's already been destroyed, but not re-assigned is bad. How bad is it and what would it do?
  15. L

    One StarCraft sound import

    I've used a SC Sound Utility to extract most of the sounds from StarCraft, but somehow, :nuts:THE ZERGLING ATTACK SOUND IS MISSING!:nuts: Can anyone upload so that I can use it in my map? I do have original and Brood War.
  16. L

    Individual Required Hero Level Per Ability Level

    There are some skills I want to make with multiple levels, but I want the level requirements to change increment sometimes, like: Advanced Carapace: Level 1 - Hero Level 1 Level 2 - Hero Level 2 Level 3 - Hero Level 3 Level 4 - Hero Level 4 Level 5 - Hero Level 5 Level 6 - Hero Level 8...
  17. L

    GetLocalPlayer() and GameCache

    Is it possible to use GetLocalPlayer and GameCache to find a value stored in one computer's GameCache and have it share it with other computers? I want to make a user-friendly map with a choice of with/without save codes (player-choice), and I need a integer pulled from GameCache and shared.
  18. L

    Special effect sizing

    I've found a model I'd like to use as a special effect, but it's waaaayyy too huge. Is there a way to lock it as one size to use for all units, because some units are resized and I need it to stay the same. The effect on my normal sized peasant is huge. The effect on my shrunken infernal is...
  19. L

    Skinning Troubles With NewGen

    So, I've tried importing the skin from the tutorial at http://world-editor-tutorials.thehelper.net, and I have imported the skin, and it isn't working. These are the paths I have for the import and unit: Import: units\human\Sorceress\Sorceress.blp Unit: units\human\Sorceress\Sorceress.mdl...
Top