Recent content by MyPad

  1. M

    Snippet Set Unit Maximum HP and Mana

    Necrobump! This system is no longer necessary now that we have the following natives: native BlzSetUnitMaxHp takes unit whichUnit, integer newMax returns nothing native BlzSetUnitMaxMana takes unit whichUnit, integer newMax returns nothing
  2. M

    Gaming Warcraft III has a new Public Test Realm

    Random world topics... *I sleep* Something about warcraft: *real stuff*
  3. M

    Does this still even work?

    scope InnerFire initializer init //Added AI function... native UnitAlive takes unit id returns boolean globals private constant integer SPELLID = 'A002' //Spell's Rawcode private constant integer HIDID = 'A004' //The hidden Inner Fire's Rawcode private constant integer DUMMYID =...
  4. M

    Snippet Text Tag

    A text tag snippet that allows you to create local text tags worry-free. If you have any suggestions for any features, feel free to add them: library TextTag uses/* */ optional OneTimer,/* - A truly optional resource. If not found, the system attempts to generate a hashtable...
  5. M

    Owner of (Triggering unit) interrupts my trigger

    You can replace Owner of (Triggering unit) with (Triggering Player). It refers to the player directly instead of getting it through a unit.
  6. M

    custom texttag, does this leak?

    function cconvert takes real percentage returns integer local integer result = R2I(percentage * 2.55) if (result < 0) then set result = 0 elseif (result > 255) then set result = 255 endif return result endfunction function CreateTextunit_sec_speed takes string...
Top