Search results

  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!
  15. bastanien

    Pick Every Player Vjass

    hey im trying to learn jass, how should i make this into jass in the cleanest way possible, converting to custom text looks like a pile of **** example Events Map initialization Conditions Actions Player Group - Pick every player in (All players matching...
  16. bastanien

    Need help with my vJass trigger!

    RaWr
  17. bastanien

    Homing Missile Trigger

    removed that part of the trigger in wait for a solution to this problem but it looks like this with the above condition right under "Else - Actions" so that means if the condition is true it should change the missiles direction accordingly to the position of it's target. Move and kill...
  18. bastanien

    Homing Missile Trigger

    Im not sure what you mean with with the slow unit but i dont think it will help as everything is made with triggers so i should only need the normal missile unit. i'd really appreciate some help on the math part to get this working.
Top