Search results

  1. U

    Unit spawning help

    Quick question, will the trigger you made work for 10 units PER building? If so I will just use it, or does it do 10 of that kind of unit?
  2. U

    Unit spawning help

    If ((Number of units in (Units of type Zombie)) Less than 10) then do (Unit Group - Pick every unit in (Units of type Grave) and do (Unit - Order (Matching unit) to train/upgrade to a Zombie)) else do (Do nothing) Is what I have so far. But I cant seem to get what you have in the editor...
  3. U

    Unit spawning help

    Ill give that a shot, and let you know how it goes from there. :D
  4. U

    Unit spawning help

    It will be controlled, no one but computers will be spawning units, and no hero/unit has a revive.
  5. U

    Unit spawning help

    I'm attempting to make buildings that spawn units over and over (not in a region, but have the building do so) but it also detect how many units it has placed. I want this because, I don't want it to be able to spawn more then 10 at a time. Example: Building 1 has spawned 10 units. No more...
  6. U

    Skill choosing trouble

    Sorry for the long reply, had a busy day. I can't seem to get that trigger set up in GUI, can you post it so I see what it looks like?
  7. U

    Skill choosing trouble

    OH, that makes more sense...I was kinda confused why it wasn't working XD Give me a few min to fix this and I'll get back to you.
  8. U

    Skill choosing trouble

    Ok, lets see here...So what I have now in JASS is... function BashAbility takes unit Hero returns nothing call UnitRemoveItem(Hero, 'I000') call UnitAddAbility(Hero, 'AHbh') endfunction if item slot 1 = Bash then call BashAbility(GetTriggerUnit()) elseif item slot 1 = Cleave...
  9. U

    Skill choosing trouble

    JASS - function BashAbility takes unit Hero returns nothing call UnitRemoveItem(Hero, 'I000') call UnitAddAbility(Hero, 'AHbh') endfunctionEvents GUI- Events Unit - A unit enters LeaveSkills <gen> Conditions Actions Custom script: call example(GetTriggeringUnit()) I'm off to...
  10. U

    Skill choosing trouble

    Ok, my only 2 problems now are -Line 149: Invalid argument type (integer) call UnitAddAbility(Hero, 'AHbh') Sadly the ability I am using has no number, just those 4 letters. The other problem is with the custom script it says -Line 148: Expect a function name call...
  11. U

    Skill choosing trouble

    Ah, didn't see that XD Thanks. Ok, So I'm using Cheese as dummy items for the skills, just with different icons and custom names. Do I used "chee" for the item or the actual custom name?
  12. U

    Skill choosing trouble

    Ok so I have 6 errors, 5 with the Jass and 1 with the custom script. The 5 errors are... -Line 148: Expected a valid argument list call UnitRemoveItem(unit, '0001') -Line 149: "" call UnitAddAbility(unit, '1001') -Line 151: Expected a valid parameter list function example takes...
  13. U

    Skill choosing trouble

    I have one more question, for the GUI. What should I make the Event? I seem to have done something wrong aswell, It disabled the triggers due to errors >.>
  14. U

    Skill choosing trouble

    Ok so this is what I have so far... function BashAbility takes nothing returns nothing call UnitRemoveItem(unit, '0001') call UnitAddAbility(unit, '1001') endfunction (To make it easier on myself I have any code that starts with a 1 is an ability, and 0 is an item. I'm hoping that works...
  15. U

    Skill choosing trouble

    Where it says "Vamp" that is just an example correct? I can replace that with like..."Hero"? Edit: Oh, I think I may understand. Thats the name of the function. So I'd call it..."Bash" if thats the ability I want to make it...?
  16. U

    Skill choosing trouble

    Never used Jass before, but I'll try that out if I can. :D
  17. U

    Skill choosing trouble

    Sadly no, why?
  18. U

    Skill choosing trouble

    Cool, I'll try and give it a shot! Thanks for the advice :thup: I'll give you an update in a bit on how it works.
  19. U

    Skill choosing trouble

    yea, pretty much the same concept as custom here line wars. My only trouble is on how to set up the trigger, any help with that? ;)
  20. U

    Skill choosing trouble

    I'm currently working on a hero arena and I'm having a few issues with making abilities that can be bought at the start. What would be the simplest way to make an ability buy-able and sell-able (in-case you decide otherwise). I'd also like to make sure that no one is able to leave the area...
Top