| 02-17-2003, 01:35 PM | #1 |
I have a trigger (or a series of them) just to get one ladder to work. Now when one of the Player's three heroes comes to the spot on the wall where the ladder is erected he 'kicks' it down. This is that section of script. Ladder Killed by Player 1 Event - A Unit Enters Region Ladder 1 Exit Condition - Enter unit is equal too XXX and Ladder1NPosition=1 Action - UNIT - KILL UNIT ------------------------------------ The ;ast part that is in bold is what I dont understand. I only want to kill the Ladder Carrier that is in the Region Ladder 1. I have multiple Ladder Carriers and I dont know how to assign each on a different variable since they will respawn once killed. Also, how would I make the unit respawn once killed, and acquire the variable his forerunner had? Thanks. :ggani: |
| 02-17-2003, 01:45 PM | #2 |
I don't really understand what you're asking, but if there is only 1 ladder carrier at a time, just store him into a variable. |
| 02-17-2003, 01:48 PM | #3 |
There are about 7 ish at any given time. I'm asking... 1) How do I store each on in its own variable? 2) How do I kill each unit at different times a la my script using their variables without killing everyone at the same time? 3) How do I spawn in a new one once the one is killed (and do this for everyone killed) and have him report to the same location? 4) How do I make the newly assigned unit get the variable the ladder carrier before him had? 5) Then repeat 1-4 over and over and over... |
| 02-17-2003, 05:10 PM | #4 |
bump |
