Recent content by jwallstone

  1. J

    Soliciting opinions on an object creation system

    I've written a bunch of Lua code that is used by the ObjectMerger (part of Newgen) to create objects. Basically, I was tired of searching through object editor fields and clicking back and forth between different tabs of objects, and wanted a way to just type out a full object specification in...
  2. J

    Moonlite Map Studio open beta release

    Great job. This is awesome. I do have one suggestion though: Please add Zinc functionality to the Jass portion! Hopefully that's not too difficult, though I can understand if it's low on your priority list. Edit: Also, some keyboard shortcuts don't seem to work. Right now, Ctrl-S doesn't...
  3. J

    Tutorial Z-Factor and Proper Late Game Balance of Power

    Just wanted to say that I really liked this article. This is a great must-read for all the starting mapmakers who might still have the "cool uber rewards I can give for kills" mentality. Careful game design is very important, much more so than fancy effects etc, and seems to be missing from a...
  4. J

    WIP Strategic Castle Siege 0.5

    Strategic Castle Siege Version: Beta 0.50 Presenting... my first map! It's at a point that's somewhat presentable, so I thought I'd put it out and see what people thought. I'd really appreciate any testers. Please let me know of any suggestions, bugs, or anything else. I want to thank to...
  5. J

    What do these natives do?

    These natives have terribly confusing names, but I've heard that they are for manipulating items. I.e. Give this item (one widget argument) to this unit (another widget argument) or drop it at this point. I don't know which argument is the item and which is the target unit though. I'm not sure...
  6. J

    How to check if Unit is a Ward??

    This is a known problem: it is impossible directly. The only way is a workaround, like: give every ward unit another dummy ability in the object editor. Check for that ability instead.
  7. J

    Quick leak question (and an easy one ^,^)

    Don't worry about it. Setting the variable to another unit means you don't have to set it to null first.
  8. J

    Quick Question

    SetUnitFlyHeight. This is how far the unit is flying above terrain.
  9. J

    how does world editor differ these 2 thigns

    There's absolutely no difference internally between a buff and an ability. That's why you use the same function to test for either.
  10. J

    Quick buff question

    No, not really. You'd have to trigger it when the spell that applies the buff is cast, then save the information then.
  11. J

    Trigger doing double?

    Actually, I think it's just because you've set the event to be periodic, i.e. after the TriggerSleepAction is done, and you Enable the trigger, it'll run again immediately after 0.1 seconds. Just change this: call TriggerRegisterTimerEvent(gg_trg_RedTerrainKill, 0.1, true) to this: call...
  12. J

    Questions on run-time

    Yes, FirstOfGroup(G) == null will tell you whether it is empty. Regarding 2 and 3: if you copy a group, you'll be running a ForGroup function anyway. It's faster just to use ForGroup. Regarding 1: I would think that using an array is faster for accessing units and looping through them, but the...
  13. J

    New Leak Found: Keeping references to destroyed objects.

    "psuedo-agents", if you mean non-agent handles, should not leak. They cannot be created or destroyed and are not reference counted anyway. EDIT: Just to clarify: does this leak happen only with waits (i.e, explicit waits or just plain waiting until later)? What if there are longer function...
  14. J

    Two different attacks to the same targets.

    Why don't you try using one of the Orb abilties and set the Cast range on that to be a smaller value than the unit's base attack? You can use a different projectile model and add the bonus damage via the ability. Edit: Tested it, no good.
  15. J

    How would I make this equation into a function WC3 can understand?

    Since when does a function have to be one-to-one? EDIT: As an example, both uberfoop and I took the post and mapped it to the same response at the same time. This function f(responder) -> post was not one-to-one.
Top