Search results

  1. Napenthe

    Simple trigger, need help...

    Set the triggering unit to a variable in the first trigger and call that variable in the second trigger (instead of triggering unit). Or course, you'll run into issues if multiple units use the ability within 60 sec of eachother... but it should work if it's only one hero
  2. Napenthe

    set a number to a hero?

    Edit: Post removed due to th poster's misunderstanding the question.
  3. Napenthe

    Please Help with Important Trigger Problem

    copy the trigger in the trigger editor (right click, copy as text). Then post the text surrounded by and
  4. Napenthe

    Okay. Complicated question.

    By using a string comparison > Player - Player name The condition would look like this: Conditions (Name of (Triggering player)) Equal to Fat_Mike
  5. Napenthe

    variable questions

    that's what it does. It starts with Array[1] and adds index's as new ones are needed. Guess i don't understand the question. Maybe give an example of where you would use the variable.
  6. Napenthe

    Okay. Complicated question.

    this should work: Set up small regions just to the inside and outside of your entrance. Set a path blocker in the bookshelf or in the path of the entrance At initialzation set your variable for the blocker ('Block_Variable' here) The code could look something like this... secret room...
  7. Napenthe

    Okay. Complicated question.

    Well, the book seems easy enough. copy one of the +stat books, change 'Stats - use automatically when aquired' to false if you want and add the 'Item town Portal' ability. You could maybe give the item to the hero when he gets close to a particular bookshelf? Maybe yes? No? If you want the...
  8. Napenthe

    Place a unit inside another unit?

    It could probably be done by changing the object editor settings for a building and setting the collision size to 0. this will also make the building so people can walk through it but that can maybe be fixed with pathing blockers. You may also need to change the 'Stats - can be built on line'...
  9. Napenthe

    Place a unit inside another unit?

    For what purpose? What are you trying to do exactly?
  10. Napenthe

    variable questions

    Seems to me that I've seen people post triggers with custom scripts that do that. I think the gui requires you refer to a specific variable index any time you reference an array variable. Here's an example from Tinki3's "creep revival system". It starts with Creep_X[1] and Creep_Y[1] ...
  11. Napenthe

    detect how many building there are.

    At first glance, looks like you should maybe be using "matching unit" instead of 'picked unit' to refer to the units as they're considered for the matching. Maybe yes? No?
  12. Napenthe

    Spawn trigger help

    You sir are a helpful sort. Thank you. As for the rules, i read the only "Rules" post i could find. Only had the basic decency stuff (no cursin', no offendin', etc.) Must have missed the one you're talking about.
  13. Napenthe

    Slayer enter in Creep Zone trigger problem

    Not sure i understand. Do you want to create the unit in (region 002 <gen>) or do you want to order it to move to the region? Not familiar with "vampire resurection maps" so i might be missing something.
  14. Napenthe

    A cool script idea, help?

    I like the idea. viva cyberpunk!
  15. Napenthe

    Applying timed trigger to multiple targets

    lol. Noted. So i can just leave the else action blank for the same effect?
  16. Napenthe

    Please Help with Important Trigger Problem

    You could add a line to turn the trigger off for the length of the build time + travel time, then back on after. So there won't be any extras qued. Say the unit build time + travel time to regionx was 145 sec. Event Time - Every 3.00 seconds of game time Condition (Number of units in...
  17. Napenthe

    Applying timed trigger to multiple targets

    But does it hurt anything? I added the trigger destroy initially as an alternate way of turning the trigger off. Thought i may as well destroy it...
  18. Napenthe

    Applying timed trigger to multiple targets

    The two custom scripts at the end are just cleanup because at that point the trigger and region are useless. I don't think the trigger is very efficient, memory leak-wise but i'm still researching that. Any suggestions are welcome. I set the region variable for ease of copying (i just have...
Top