Search results

  1. I

    [vjass]How to take a struct by a element inside that

    the idea is a system that create struct by unit, add the unit to a unit group, and in another function, pick every unit in the group and take members of the struct that have the unit as a member
  2. I

    [vjass]How to take a struct by a element inside that

    Well, the title said everything, i just want can take the struct by a unit named as a element of the struct
  3. I

    got some problem :S

    aff, all am i do is bugged? ¬¬ i guess yes, i'll see and reply EDIT i finish, now, bug free XD (i hope ¬¬) EDIT² a dont know how to add lucoust to a unit by trigger :/
  4. I

    got some problem :S

    i got, take , dont forget the credits XD
  5. I

    Unit spawn optimizing

    so, ¬¬, i dont know what do :/ EDIT: i really dont see other leaks, but, however, try in the jass function, set the unit to null in the final, and if still so many leaks, try destroy the location every use, and set it again
  6. I

    Unit spawn optimizing

    no, not other ideas :/ EDiT i found a list of leaks in your jass code put a remove location in the jass' loop code and say to me if its worked
  7. I

    Unit spawn optimizing

    maybe your code have group leaks, put a custon script: "set bj_wantDestroyGroup= true" before every group using and say to me if it worked. And in you jass code, put "exit when Number < -1" because the number code of the player 1 is 0
  8. I

    Leap spells :D!

    sorry i really dont know what happed :/ but i gess better do each code part in deferents triggers
  9. I

    Leap spells :D!

    do you already set the Magical_Nest_Boolean as true in the init trigger?
  10. I

    Small question about memory leaks removing

    some programming languagens do this automatic variable/object clear
  11. I

    Leap spells :D!

    but the targeted did some degrees ?
  12. I

    Leap spells :D!

    is it works? so that's it ^^
  13. I

    Small question about memory leaks removing

    i have a question, if be this: Set TempPoint = (Center of Region) Custom script: call RemoveLocation (udg_TempPoint) Set TempPoint = (Center of OtherRegion) Custom script: call RemoveLocation (udg_TempPoint)
  14. I

    Leap spells :D!

    this variable is to hold the max height fly, so, you choose what is the max height i recomend 400
  15. I

    Leap spells :D!

    is a real variable
  16. I

    Leap spells :D!

    A = actions C = conditions CheckBoo is a boolean variable sorry to write as that way, i think that way the better
  17. I

    Store CountDown into variable

    just add +1 to the variable every second ¬¬
  18. I

    Leap spells :D!

    good work at remember, in a sample jump, you will cut the jump in two parts ---------------------|--------------------- in the knockback trigger, you will think how many will be the distance the unit will knock, just taking the time and the range per trigger you will have the value, and...
  19. I

    Leap spells :D!

    on init trigger set HeightUnit = (Currect Flying height of UnitVariable) in the knockback trigger (the trigger thats runs every 0.03 seconds) set HeightUnit = HeightUnit + 10.00 //ex. Animation - Change UnitVariable flying height to HeightUnit at 1600.00
  20. I

    Leap spells :D!

    create a variable to take the currect flying height of unit, and every trigger run, you add a value to this variable and change the fly height to that variable set HeightVariable = HeightVariable + "the integer value of change" call SetUnitFlyHeight( "you unit", HeightVariable, 1600.00 )...
Top