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
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.
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...
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...
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'...
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]
...
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?
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.
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.