Search results

  1. N

    Applying Buff on a Target

    So... after 2 hours of trying I am now coming here with this issue of mine; How does one add a buff to a unit?
  2. N

    Defense Nevyll Hero Siege

    So basically I'm making my own hero siege, for the sixth time. Yes, this is my sixth attempt at this, and this time I'll make it :thup: So, what will be included in this hero siege O' mine? - An open/close way system - 24 unique heroes - 7 spells for each hero! 1 default ability, 5 hero...
  3. N

    Custom Map Script vs. BJ

    Which is faster, writing a function in the custom map script section of a map and calling it from a trigger, or simply calling a BJ? Example: function GetAngleBetweenPoints takes real x1, real x2, real y1, real y2 returns real return bj_RADTODEG * Atan2( y2 - y1, x2 - x1 ) endfunction...
  4. N

    Nova Spell not working

    Hi again, I'm coding a nova spell for a map o' mine, but there is a problem. The dummy units are not moving :S Here's the spell code: function Trig_Water_Nova_Conditions takes nothing returns boolean return GetSpellAbilityId() == 'Awrs' endfunction function Trig_Water_Nova_Filter takes...
  5. N

    Calling functions between triggers?

    Hai, I'm working on a hero picking system, but I've come across a problem; whenever I try to call a function between 2 triggers, it gives me a "Expected Function Name" error :banghead: I put the function "StartPick" in a trigger above the Start Pick trigger: function StartPick takes nothing...
  6. N

    Help with spell!

    Hi, I'm making a chance on hit knockback spell for my map, but it doesn't work, all it does is damaging the target, it doesn't knock it back. I do not use any editors, nor am I planning on doing so :P Here's the spell: function Trig_Bash_Conditions takes nothing returns boolean return...
  7. N

    S2i() / i2s() ?

    I was just wondering if anybody out there knows how to convert an integer to a string or a string to an integer, hence I'm making a spell that requires the use of a hashtable, and I find it quite confusing when I simply use integers as childKeys... Here's the spell so far: function...
Top