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...
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...
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.
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...
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...
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...
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 /...
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...
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...
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.
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?
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?
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...
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.
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.
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...
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...