Search results

  1. Doom-Angel

    Using methods on struct Array

    method M2P takes integer Min returns real return 0.01 - (this.Min/50000) endmethod i tried to use the method above on struct array and for some reason it keeps returning 0.01 even though Min is changed.... is there anything i should know about the use of methods with struct array?
  2. Doom-Angel

    struct leak check

    function Movement takes nothing returns boolean local DATA data = TT_GetData() local integer i = GetPlayerId(GetOwningPlayer(data.c)) if(DATA[i].side == 1) then //Left call SetUnitFacing(DATA[i].c,GetUnitFacing(Car[i].c) + 3) elseif(Car[i].side == 2) then //Right...
  3. Doom-Angel

    Struct extends array?

    i tried to use Struct extends array like it shows in the JassHelper Manual but it keeps giving me a syntax error can anybody tell me how use it?
  4. Doom-Angel

    Difference beetwen Library and Scope

    i read the vJass manual and i didn't understand the diffrence beetwen scope and library i need somebody to explain it to me. Thanks in advance, Doom-Angel.
  5. Doom-Angel

    Map Initialization = No Event?

    i just found out that the event Map Initialization is basically a no event in Jass so i was had a few questions about it: does every trigger without an event runs on initialization? how do i make the triggers i want to run on initialization to actually run or the opposite way? please...
  6. Doom-Angel

    Need help with Variable Event function

    i have seen this one: native TriggerRegisterVariableEvent takes trigger whichTrigger, string varName, limitop opcode, real limitval returns event and i have a question about it: can i use I2R in this function?
  7. Doom-Angel

    Breaks in string?

    is there a possibility to make a string break to the next line? im not talking about showing it separately or use lots of spaces to make it jump a line, im talking about a single string which has the option to be written in 2 lines. thanks in advance for helpers :thup:
  8. Doom-Angel

    What do you think about the war beetwen Israel and Gaza?

    Which one do you take side at and why? just wanna check what people around the world think about it, hope it's ok.
  9. Doom-Angel

    System GetShapePoint

    Get Shape Point this system is made to make things easier for all those who hate doing all this math\geometric stuff and to make it easy to use shapes when using it. this system might look a bit complicated but it's only because i gave it wide sum of options so you could manipulate your...
  10. Doom-Angel

    Problem with distance toward facing

    k so i have this function: function Test takes location loc,real distance,real facing,integer position returns location local real x = GetLocationX(loc) local real y = GetLocationY(loc) local real face = ModuloReal(360,facing) call RemoveLocation(loc) set face = face -...
  11. Doom-Angel

    Pausing without fully Pausing

    i need to stop my unit from being able to perform movement or attack (on it's own) for the duration of the skill but i want still to be able to follow the orders from the trigger without interupption from the pausing or whatever i have to do. is this possible? and how? P.S - this skill is...
  12. Doom-Angel

    Looking for a certain spell

    hi im looking for a certain spell which would would this 2 things: 1) attack based spell (using damage bonus) 2) cooldown is not based on the normal unit attack and could be casted multiple times in a row without any connection to the normal attack speed if any1 knows of any spell...
  13. Doom-Angel

    a problem with multi casting

    i tried creating a trigger which adds a dummy spell to make the unit cast it multiple times (has 1 seconds beetwen each cast) - this spell doesn't cost mana or has cooldown and it's based on BlackArrow. the unit cast the spell once but for some reason it stops there and won't multi cast and...
  14. Doom-Angel

    Suggestion - Adding warning system

    a lot of forums has warning systems and i suggest u get one too 5 warning - ban for certain time could make it easier to make people look at the rules and obey them - what do u think?
  15. Doom-Angel

    About channel

    if i make the channel invisible and put a Hotkey for it the ability should be casting when i press the Hotkey?
  16. Doom-Angel

    camera problem

    hey guys im trying to make my camera to stay on the back of a unit (even when it turns around) and also take the camera back a bit so i could see more with the unit prespctive and also setting the right height for the unit (in case of flying) i have been trying a few actions but i can't...
  17. Doom-Angel

    Unit won't change facing

    call SetUnitTurnSpeed(u,99999) if (udg_TurnKey == 1) then //Left call SetUnitPositionLoc(u,loc) call SetUnitFacing(u,face+5) elseif (udg_TurnKey == 2) then //Right call SetUnitPositionLoc(u,loc) call SetUnitFacing(u,face-5) endif set x = GetLocationX(loc)...
  18. Doom-Angel

    Trigger Lags a bit

    function Fire_Wall_Conditions takes nothing returns boolean return (GetSpellAbilityId() == 'ANcl') endfunction function CreateFireWall takes nothing returns boolean local Data vars = ABCT_GetData() local integer i = 0 local group g = CreateGroup() local unit first...
  19. Doom-Angel

    Need help with making perpendicular dummy arrangement

    i tried to create bunch of dummies in so it would be creating them all in a big line starting from the target point going to both sides and i want this line of dummies to be vertical to the caster. now i tried something which works sometimes but sometimes it doesn't and just creates a line...
  20. Doom-Angel

    Is there a way to detect

    Is there a way to detect if a unit cannot be created\reach on\to a certain location? example: a wall in the way,water,some unwalkable terrain and etc'. thanks in advance :)
Top