Search results

  1. M

    Memory Leak Trigger

    I have a memory leak after this trigger is triggered a few times. There are another two triggers to go with this, but the leak is caused by this trigger. Any help much appreciated. Thanks, Morbid. Events: Unit - A Unit begins casting an Ability Conditions: ((Ability being cast)...
  2. M

    Help With Memory Leak?

    Hi, I have this script that leaks if its activated by more than one unit at the same time. Is there anyway i can fix it? Thanks, Morbid. Trigger 1 - "If Not Owned" function Trig_Not_Owned_Copy_Func004001 takes nothing returns boolean return ( GetSpellAbilityId() == 'A009' )...
  3. M

    Custom Resource Icons? (Change gold/lumber image?)

    Is it possible? I've seen it on some maps, how do I do it? Thanks.
  4. M

    Select every unit in region and order attack trigger?

    I'm trying to make a trigger, and too dumb right now to figure it out... I want when a certain unit walks into region (which I have...) issue order to EVERY unit owned by that player inside a region to attack to another region. And this trigger needs to be able to be repeated... My...
  5. M

    Help with script errors?

    Hey, I'm new to scripting in warcraft lll. I'm using newgen, and have tried to edit a script to suit my purposes. Orignally the script checks number of items in region of certain type, if equal to or less than set number created a new of the same item checking for randomly inside of region...
  6. M

    Help with script (EnumItemsInRect)

    Hey, I am currently working on a warcraft 3 FT map. I don't know really know JASS, I've had a look and its quite similar to coding I've done before (Morrowind scripting and Dungeon Keeper). But, I am having trouble with a script and can't find much about it (of what I can doesn't make...
  7. M

    Trigger: Number of items in region Check? Possible?

    Hello, I need to know if its possible for a trigger to do a condition check for number of items in a region as opposed to units. Thanks, Mobird.
  8. M

    Item Respawning? Help

    Hi, I am trying to figure out how to make items respawnable, like after a set time. What I think is the way: EVENTS: Time - Every 5.00 seconds of game time CONDITIONS: (Number of Units in (Units in Shore Shallows <gen>)) Less than or equal to 3 (item-type of (Matching item)) Equal...
  9. M

    Editor or Trigger Help!

    Hey, I have some buildings in my map that I pan to do a few differnt things, I don't know which way to go about it just yet and wanted to try a few ways... And example of a biulding is the orc pig farm. I want it to produce either: Every set peroid of time an income depending on its...
Top