| 04-24-2006, 09:55 PM | #1 |
First, I have a spell that is blank and is used to create another unit. The unit gets created through triggers. I was wondering, what trigger makes it so the created unit appers BEHIND the casting unit. Like the exact opposite direction the casting unit is facing. (So the unit that created the created unit.... if that made sense) Thanks for any help. Peace. -Azhag |
| 04-24-2006, 10:12 PM | #2 |
Create the unit at the casters location offset by 128 units facing the casters facing + 180 degrees. If you look at the math functions and position functions, you should be able to figure this one out. Good luck. Otherwise, someone else will probably write an exact step by step guide for you. |
| 04-24-2006, 11:04 PM | #3 |
I'm afraid I can't find the facing of the casters facing... I dunno if that is it. I don't want the created unit to face the same angle as the caster, but be created behind the caster. |
| 04-25-2006, 12:08 AM | #4 | |
Quote:
thats exactly what he said, the caster is facing a certain direction, then u use polar offesets so that the uinit is created behind him, since the opposite directino hes facing is X+180, it will create it behind the caster |
