| 09-06-2003, 04:27 PM | #1 |
What trigger do I have to set to have a fixed view? I mean, you can't click in the minimap or scroll the map, you only can have the unit selected and move it... i tried lock camera, but it doesn't work |
| 09-06-2003, 04:34 PM | #2 |
Camera lock should work, post ur tigger so I can see it, maybe you just missed something. |
| 09-06-2003, 04:42 PM | #3 |
Player Group - Pick every player in (All players) and do (Camera - Lock camera target for (Picked player) to (Triggering unit), offset by (0.00, 0.00) using Default rotation) what's wrong there? @@ |
| 09-06-2003, 04:45 PM | #4 |
Can you please post the WHOLE trigger because it might be the conditions or events that are messing it up |
| 09-06-2003, 05:16 PM | #5 | |
Quote:
I have nothing else in the trigger, but event = map initialization... because I just started the map....... |
| 09-06-2003, 05:27 PM | #6 |
The problem is there's no [triggering unit] for your players to lock onto. In order to use [triggering unit] and many other pre-set variables of triggers you have to use the right Events. [triggering unit] variable only works for a trigger using events 'Units specified action' or 'Player-owned unit action' and so forth. Firstly, since camera actions don't generally work (or at least I don't think they do) with 'Map Initialization' use the 'Elapsed time - 0.00' instead. However, I can offer a possible solution. If you only have the units you want to lock onto pre-placed on the map, then you can simply do an action for each player: Camera- Lock camera for (Player 1) to (whatever unit you want), offset by (0.00, 0.00) using (default rotation) and do one of those for each player on their own unit. This next one will work also if you just have a single unit they own but it's not set on the map. Player Group - Pick every player in (All players) and do (Camera - Lock camera target for (Picked player) to (Random Unit in unit group (units owned by (Picked Player))), offset by (0.00, 0.00) using Default rotation) |
| 09-06-2003, 05:43 PM | #7 |
Yeah, see what I mean? usally when I get a bug like that its because I didnt properly pick a unit. |
