| 08-21-2002, 11:16 AM | #1 |
Ok, two questions... 1) how can i make a trigger so that if i bring a unit to a certain spot (like in a corner somewhere), it will pick my unit (a shapeshifter) and replace it with another unit (like a Pandaren)? 2) how can i make a trigger so that i just picks every unit in a region and does nothing? sorry if these are dumb questions, but i need to know for an RPG i might do. and it will have a shapeshifter :) |
| 08-21-2002, 11:35 AM | #2 |
Although I can't understand what your #2 Question is, here's how to do #1 (2 Different Ways) NOTE - These triggers assume that you create a "Unit" variable and set it to the first unit that the shapeshifter starts as. 1. EVENT - Unit enters region. CONDITIONS - Entering unit equal to "Shapeshifter" ACTIONS - Replace Unit "Shapeshifter" with "Other Guy" - Set "Shapeshifter" to (Last replaced Unit) ----- 2. More Complicated (But better :D ) EVENT - Player (X) enters a chat message containing (ex. "Sheep) as an exact match ACTIONS: Replace "Shapeshifter" with (sheep) Set "Shapeshifter" to (last replaced unit) |
| 11-11-2002, 07:19 AM | #3 |
thx |
| 11-12-2002, 01:44 AM | #4 |
[glow=strength]Well, for the second question, you can use the "Unit group - Pick units and do action" trigger. Make it pick all the units in the region (Pick every unit in REGION X) and pick do nothing. When you want to use that, on the trigger, Pick the Unit Group - Pick units and do action trigger, but this time, select LAST SELECTED UNIT GROUP instead of UNITS IN REGION. I think that works. Or, you gould use a unit group variable (I don't feel like looking at the editor, but i think there's one) and pick all units in the region and set the variable to them. I think the first trigger would work better, though. Does it help?[/glow] |
| 11-12-2002, 11:39 AM | #5 |
i figured that out, but now I dont remember why I asked That... |
