| 01-27-2004, 02:34 AM | #1 |
Can someone tell me why these triggers dont make the camera stay behind the unit? Camerareset Events Unit - A unit enters Mazeentry <gen> Conditions (Owner of (Entering unit)) Not equal to Neutral Hostile Actions Trigger - Turn on mazecampart2 <gen> Set TargetUnit = (Entering unit) Camera - Rotate camera 90.00 degrees around (Position of (Entering unit)) for (Owner of (Entering unit)) over 1.00 seconds Camera - Lock camera target for (Owner of (Entering unit)) to (Entering unit), offset by (0.00, 0.00) using The unit's rotation mazecampart2 Events Time - Every 0.45 seconds of game time Conditions Actions Camera - Lock camera target for (Owner of TargetUnit) to TargetUnit, offset by (0.00, 0.00) using The unit's rotation all these do is rotate the camera around the unit when it enters the area and i cant even move the camera anywhere after that. ( unless he enters the turn-off-trigger region ) |
| 01-27-2004, 03:47 PM | #2 |
I think the probl;em is in the first action. Change it to triggering units instead of target unit. It should work. |
| 01-27-2004, 08:10 PM | #3 |
Or change the actions to use (triggering unit) instead |
| 01-27-2004, 11:13 PM | #4 |
Isn't that what I just said? |
| 01-29-2004, 11:43 AM | #5 |
actually, targetunit is a variale i had used for something else. it has nothing to do with the Event Response- Targeted Unit thing. it was just an unused variable i made that i hadnt used, so ui tried it. |
| 02-10-2004, 04:12 PM | #6 | |
Actually you did put that you used your target unit variable. Quote:
However, I think your problem lies in this. You have to set a real variable to unit's rotation every 1 second. Then set the camera rotation to the variable every 1 second (same event) over 0.50 seconds. See if that answers your question. That's how I do it. |
