Search results

  1. jackall

    Teleport trigger trouble.

    I see that you tried shadowing a global variable using a local one and afaik that is no longer possible. I deleted that line Custom script: local unit udg_temp_Unit and the triggers worked as intended. Hmm... Nevermind about the shadowing, it seems to be working. Looks like there's just...
  2. jackall

    Question about skinning auras

    Did you use a model editor? Magos' one should do just fine for your needs.
  3. jackall

    hashtable - locations question

    i think its the Custom script: call RemoveLocation(udg_temp_point[3]) in the first trigger checking it right nao EDIT: yep... thats the problem for sure, how do i know? Melee Initialization Events Map initialization Conditions Actions Hashtable - Create a...
  4. jackall

    TD probrem

    thanks for the reply, but no, i think i know how i can do it btw the creeps arent supposed to attack towers
  5. jackall

    TD probrem

    so im having a problem, when a spell tower casts roots on a creep that creep takes damage blah blah for 5 seconds but then doesnt continue moving, it just stands there until its attacked again i've changed the gameplay constants to 9999 and 99999 so that cant be the problem....
  6. jackall

    hashtable - integer? why doesn't this work?

    I did it like this and it displayed 3. Maybe you didnt create the hash. Hashtable - Create a hashtable Set UnitHash = (Last created hashtable) Hashtable - Save 3 as 0 of 2 in UnitHash aaa Events Player - Player 1 (Red) types a chat message containing a as An exact match...
  7. jackall

    dialogs, can you add hotkeys to dialog buttons?

    yes, you can, but you have to add the buttons in (v)JASS and the hotkeys are "represented" by a number code which i forgot but im sure you can find a more detailed approach on this subject on this forum or wc3c/hive EDIT: native DialogAddButton takes dialog whichDialog, string...
  8. jackall

    Help with Syntax Errors

    use [JASS] tags, 1st problem is you can't use functions inside of structs, only methods(that means you just have to replace "function" with "method", then when you want to call that method you do it as such: <name of struct> . <name of method> and then pass arguments to it like you would do with...
  9. jackall

    JASS: GetLocalPlayer()

    If (All Conditions are True) then do (Then Actions) else do (Else Actions) If - Conditions (Entered chat string) Equal to !show kills Then - Actions Custom script: if GetTriggerPlayer()==GetLocalPlayer() then Leaderboard - Show KillLDB Custom...
  10. jackall

    damaging problems

    tried and yet again... didn't work the thing is BJDebugMsg in the function displays 12.5(what it should be) once, after that only 0's btw: HPPercentDamage isn't in that trigger
  11. jackall

    damaging problems

    I have no idea why but it only damages the target once for 5% of their HP. This is the function that does the damage. function HPPercentDamage takes unit source, unit target, real percent, boolean currHP, attacktype at, damagetype dt returns nothing local real dmg if currHP then...
  12. jackall

    Funny and siturbing angle

    Tried but it didn't work, thanks anyway. I'll try to describe it a little better: If I order the builder to move somewhere it faces 0 degrees BUT a BJDebugMsg shows me that the angle is just like when the unit is ordered to patrol to that point. On a side note, it doesn't really matter if I/we...
  13. jackall

    Funny and siturbing angle

    Typo in title don't mind it that much. ;) function BlinkTo takes unit who, real x, real y returns nothing local real maxX=GetRectMaxX(GetPlayableMapRect()) local real maxY=GetRectMaxY(GetPlayableMapRect()) local real minX=GetRectMinX(GetPlayableMapRect()) local real...
  14. jackall

    function not called

    its supposed to be called when the builder moves be it move or smart anyway fixed it, problem was oldX and oldY didnt have values set :confused: thanks anyway
  15. jackall

    function not called

    function Blink takes unit who returns nothing local real maxX=GetRectMaxX(bj_mapInitialPlayableArea) local real maxY=GetRectMaxY(bj_mapInitialPlayableArea) local real minX=GetRectMinX(bj_mapInitialPlayableArea) local real minY=GetRectMinY(bj_mapInitialPlayableArea) local real...
  16. jackall

    first timer problem

    Thank you.
  17. jackall

    first timer problem

    Since this is the first struct I've ever made, I've had a few problems with it but one keeps reappearing... struct Paladin unit Hero integer Type = 'Hpal' method GetHP takes nothing returns real return GetUnitState(.Hero,UNIT_STATE_LIFE)...
  18. jackall

    type of damage

    sorry but im not planning on using it yet
  19. jackall

    type of damage

    is there any way i can find out the damage type that triggers the EVENT_UNIT_DAMAGED event? i need some way to find out whether or not the damage is caused by the hero's attack or by the spells it casts
  20. jackall

    audio program for switching front/back panels

    Do any of you gentleman know a program that will allow me to switch between the back-panel audio connectors to the front-panel audio connectors and vice-versa? [EDIT] nvm...just gonna do it the less-techy way
Top