Recent content by Morbid

  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

    A System for Summoned Units' Inventories?

    Can't you do a game cache? And yes the varible system works.
  3. 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' )...
  4. M

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

    Is it possible? I've seen it on some maps, how do I do it? Thanks.
  5. 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...
  6. M

    Help with script errors?

    Yes, I had an array, and just thought I would follow the other two arrays and add it at the bottom like so, but it doesn't work like that :( //Set Min_Item_Count: //<--- Shallow Shores ---> set MIN_ITEM_COUNT[0] = 4 set MIN_ITEM_COUNT[1] = 1 set MIN_ITEM_COUNT[2]...
  7. M

    Help with script errors?

    "Incrementing ITEM_COUNT" I beleive its to do with my MIN_ITEM_COUNT I think I will just create many triggers instead of using just one big one, unless there is another way around it? morbid.
  8. M

    Help with script errors?

    Reason for having the same item, is this is the map so far, I'm adding more items and regions. This is only for one section of the map, I didn't know there was a max for the array? I was hoping to go to about 100, for example: //Items to check for: //<--- Shallow Shores ---> set...
  9. 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...
  10. 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...
  11. 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.
  12. M

    Evolution Help

    Make a spell/ability? Then have a trigger so when the unit casts it, the removes the unit and places the other in its place?
  13. 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...
  14. 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