Recent content by Emu.Man00

  1. E

    Can someone explain what "For Loop Integer A" does?

    Yes, you can do it like this (freehand): for loop integer a from 0 to 11 if not yourVariable[integer A] = (null/no unit/etc.) then (your code) endif I'm not sure how to exit loops in gui but you might want to do that to if you only want this to run for one non-empty variable...
  2. E

    Custom Script that doesn't work

    set udg_move_to_here = gg_rct_The_Town ... call RemoveLocation(udg_Move_to_Here) You're either trying to set a location variable to a rect, or remove a rect as if it were a location try this function Trig_Move_to_Here_Func003A takes nothing returns nothing call...
  3. E

    An alchemy skill

    You will have to go through every possible potion but that's unavoidable no matter how you do it. When you give the ability to a unit, also store it to a variable, that will be used when removing.
  4. E

    An alchemy skill

    unit - add ability and unit - remove ability
  5. E

    NewGen with Windows 7 ??

    Unfortunately, I don't know what your problem is :( However, NewGen works fine for me (With windows 7), so there is hope! Try running as admin or using compatibility mode?
  6. E

    EVENT: (unit) life becomes . . .

    Wherever you set the unit variable add this action Trigger - Add to (your trigger) the event (Unit - (your unit)'s life becomes...)
  7. E

    Some basic trigger help

    The square bracket is the index for the array. You're replacing the owner of killing unit's kill count with the kill count of another player. The '+ 1' should be outside of the bracket.
  8. E

    Map problem

    This is the absolute weirdest thing that I have ever seen in the world editor! The problem is in the trigger "Spawn Creeps" Specifically the line For each (Integer A) from 1 to creepSpawnCount[levelCount], do (Actions) After deleting that line and remaking it the exact same way, it started...
  9. E

    Map problem

    # If - Conditions * levelCount Equal to (creepCount_lastIndex + 1) Where is creepCount_lastIndex set?
  10. E

    Far Seer Attacking Effect

    AFAIK its part of the model; not changable in the world editor
  11. E

    Order unit to drop item.

    I believe in your conditions it should be "item being manipulated" instead of picked item.
  12. E

    Working with RANDOM!! HELP!!

    Thank you, sir ;)
  13. E

    Working with RANDOM!! HELP!!

    Replace -pick every unit in tempGroup replace picked unit with heroes[random integer between 1 and totalHeroes] using new unit's max life and mana with -pick every unit in tempGroup --set tempInt = random integer between 1 and totalHeroes --replace picked unit with heroes[tempInt] using new...
  14. E

    Working with RANDOM!! HELP!!

    Heres the simple way that I'd do it. Havn't used the world editor much recently so it might be a little rusty ;) -set heroes[1] = dread lord -set heroes[2] = archmage etc... -set totalHeroes = *number of hero types in the array* -set tempGroup = units in playable map of type peasent -unit -...
  15. E

    Help!!

    Try designating somebody else, I know that works for Diablo 2
Top