Search results

  1. Yizzy

    got a tough problem here =)

    Does it sell units? Don't think that will be updates on upgrade If you own the building then you could maybe train units instead, that should update on upgrade, otherwise I guess you have to use triggers.. i.e.Untitled Trigger 001 Events Unit - A unit Finishes an upgrade...
  2. Yizzy

    loading screen

    read http://world-editor-tutorials.thehelper.net/loadscreen.php
  3. Yizzy

    help with acronyms

    no, the function call (Position of (Casting Unit)) returns a loc, if you don't store the pointer in a variable then it will be lost btw udg is an acronym for user-defined-global as (Position of (Casting Unit)) will be GetUnitLoc(GetSpellAbilityUnit()) in jass you could do: call...
  4. Yizzy

    Show friendly hero icons in top left

    If you make a copy (/dummy) of each hero in the party and give 'em to each player, update hp and mana with triggers, and issue order targeting a unit -> reorder to target the hero (need jass), might work, probably will it not be very efficent though..
  5. Yizzy

    Lua error?

    On newest newgen you have "Reinventing the Craft" in title menu, simply disable that and you can run newgen with AVG.. If you need it then find yourself another antivirus program :P
  6. Yizzy

    Make a unit perform an order from a variable?

    You need diffrent commands for diffrent types of orders, A unit Is issued an order with no target: Custom script: call IssueImmediateOrder( GetTriggerUnit(), udg_oLastOrder[udg_PN]) A unit Is issued an order targeting a point: Custom script: call IssuePointOrderLoc( GetTriggerUnit()...
  7. Yizzy

    Help with damage formula

    I'm not too good on optimization, but it does what I want.. (and maybe more :P) scope ElectricField initializer Init globals private constant integer Electric_Field = 'AOwk' //Your ability code ex. Wind Walk private constant string CASTER_EFFECT =...
  8. Yizzy

    Help with damage formula

    R,L distance travelled by dummy,level of ability 262.5-R/8 Level 1: 100 range 250 dmg; 500 range 200 damage 475-R/4 Level 4: 100 range 450 dmg; 500 range 350 damage 262.5-R/(8-L)+212.5((L-1)/3) (262.5-212.5/3)-R/(8-L)+L(212.5/3) (575/3)-R/(8-L)+L(425/6) 191.667-(distance...
  9. Yizzy

    Help with damage formula

    If you say how much dmg you want it to do at say, range 100 and 500 on level 1, and at range 100 and 500 at level 4, and I'll make a formula from that..
  10. Yizzy

    How to get units in front of the caster

    i made a similar trigger in this thread.. function StormBoltConditions takes nothing returns boolean return GetSpellAbilityId() == 'ACbf' //Still using Breath of Frost.. endfunction function TargetConditions takes nothing returns boolean if ( IsUnitType(GetFilterUnit()...
  11. Yizzy

    Help with damage formula

    I can make more guesses.. free bumps at least :P Give some numbers and I'll think someting up ;) 75*((level of ability)+1)-(distance travelled by dummy/5) at100 ->130x2units=260dmg spell level 1 at300 ->90x1units=90dmg spell level 1 at500 ->50x1units=50dmg spell level 1 at100...
  12. Yizzy

    Shadowstep only active when unit is in stealth mode

    if it works with an unit ability then make a dummy hero ability, and trigger on learn/levelup ability..
  13. Yizzy

    Help with damage formula

    (250-(distance travelled by dummy/2))+(90+10*(level of ability)) then?
  14. Yizzy

    Yet another leak question

    It removes the allocation of the memory "Typically, a memory leak occurs because dynamically allocated memory has become unreachable." - Memory leaks - en.wikipedia I'm not sure when the leak occurs, as I don't know how Jass allocates variables. My guess would be that a point variable is a...
  15. Yizzy

    Players getting disconnected.

    Maybe there are more things that causes disconnects but I'm sure that trigger is one of them, It's first: General -> For each Integer A, do multiple actions the other line is from your trigger with changed player to Conversion - Convert Player Index To Player, and the point (which probably...
  16. Yizzy

    does a "run this trigger" action end the trigger?

    No, why would it? Try "Skip remaining actions"
  17. Yizzy

    Players getting disconnected.

    This trigger causes desync, which causes disconnect Start game Events Time - Elapsed game time is 0.01 seconds Conditions Actions Unit - Create 1 circle for Player 1 (Red) at (Target of current camera view) facing Default building facing (270.0) degrees...
  18. Yizzy

    List of descriptions

    UnknowVector's Abilities - Buffs and Spells has a (small) list of abilites.. if any help..
Top