Recent content by bastanien

  1. bastanien

    Only Half trigger works

    Ok thx + rep, but how sould i make it then, i'd rather not have a trigger for each item :/ i have only used jass for a week now so im a bit of a noob ._.
  2. bastanien

    Only Half trigger works

    function Trig_Purchase_Actions takes nothing returns nothing local unit buyer = GetManipulatingUnit() local item Item = GetManipulatedItem() local integer Itemtype = GetItemTypeId(GetManipulatedItem()) //////CRITICAL STRIKE////// if(Itemtype == 'I000' and...
  3. bastanien

    GetItemID/rawcode function ?

    i dont think that works like how i want it to do , it returns a long number something like "1227423291" i want it to return the id like "I000" :confused: and btw can i add a ability to a unit without using the ' ' around the integer, if i have the integer A000 or something can i add it as an...
  4. bastanien

    GetItemID/rawcode function ?

    Can i somehow get the rawcode/itemid of a item that is being manipulated ??
  5. bastanien

    local variable disables trigger?

    ok i know what u mean but how ?????? if i make local integer i = 0 and then set it to something else, it will reset everytime the function is called again :s
  6. bastanien

    local variable disables trigger?

    got a small problem with this trigger, it refuses to work when i set the variable :S <--- Does Not Display Anything function Trig_Purchase_Actions takes nothing returns nothing local integer i set i = i + 1 call BJDebugMsg("lol") endfunction...
  7. bastanien

    Optimize Jass Trigger

    ?? anyway i managed to fix the most of the leaks, it was dead units after the spell dummys that didn't get removed so they just stacked up.
  8. bastanien

    Optimize Jass Trigger

    thx
  9. bastanien

    Optimize Jass Trigger

    i'm having rly bad memory leak problems , dont know what's causing it reals and integers doesn't leak ??? function Trig_Cast_Actions takes nothing returns nothing local real x local real y local integer r local integer g local integer b local integer spell local texttag text...
  10. bastanien

    Optimize Jass Trigger

    Ok thx, only used jass for a day now so :o Btw would you mind explaning "Sin(angle * bj_DEGTORAD)" ??
  11. bastanien

    Optimize Jass Trigger

    Hello any idea of how i can make this better/faster/more awesome? and does it leak ? function Trig_InitTrig_Move_Conditions takes nothing returns boolean if ( not ( CountUnitsInGroup(udg_SpellGroup) > 0 ) ) then return false endif return true endfunction function...
  12. bastanien

    Pick Every Player Vjass

    Alright, thx again.
  13. bastanien

    Pick Every Player Vjass

    got another small problem, the last created unit doesn't get selected :confused: function Trig_Untitled_Trigger_001_Actions takes nothing returns nothing local integer i = 0 local location pos call FogEnableOff( ) // to disable fog of war call FogMaskEnableOff( ) // to...
  14. bastanien

    Pick Every Player Vjass

    thanks!
Top