Is it possible to disable the portrait part of the interface, or is the command card, portrait, etc one huge UI element?
BTW, the answer to the question in my last post seems to be yes - at least two players over bnet can share the same camera object with the trigger I made. I don't know if they get one instance of the object each, or if the camera is taking turns (every 0.1 second) to display for both players. Either way, the visual result is the same.
I attached the same region to two player units in a similar fashion, but not every 0.1 second as in the trigger above - which leads me to believe that my first guess is correct (an instance of an object is created for both players, at least cameras that follows and attached regions).
You could pick a unit with the trigger isntead of having one specific on your map.
I use the trigger below. It picks players from a player group (activePlayers in my case) and runs the actions for each. This works as long as you have only one unit owned per player at any given time. It works for one player at least (I havnt tested online) and I'm not sure that several players can share a camera object.
For the portrait bug, you can see I use the solution Draken2223 suggested in the thread stevehammon reffered to a couple of posts above. I hope the repeat actions forever-part wont slow the game online.
Otherwise, the camera will attempt to follow both units. You actually use the same trigger fro start/stop followiong. There was a lot of frustration before I foudn that out :)
Please let me know if you try this online. Can several players share a camera object?
Is it possible to disable the portrait part of the interface, or is the command card, portrait, etc one huge UI element?
BTW, the answer to the question in my last post seems to be yes - at least two players over bnet can share the same camera object with the trigger I made. I don't know if they get one instance of the object each, or if the camera is taking turns (every 0.1 second) to display for both players. Either way, the visual result is the same. I attached the same region to two player units in a similar fashion, but not every 0.1 second as in the trigger above - which leads me to believe that my first guess is correct (an instance of an object is created for both players, at least cameras that follows and attached regions).
You could pick a unit with the trigger isntead of having one specific on your map.
I use the trigger below. It picks players from a player group (activePlayers in my case) and runs the actions for each. This works as long as you have only one unit owned per player at any given time. It works for one player at least (I havnt tested online) and I'm not sure that several players can share a camera object.
For the portrait bug, you can see I use the solution Draken2223 suggested in the thread stevehammon reffered to a couple of posts above. I hope the repeat actions forever-part wont slow the game online.
If you want to switch to another unit or point to view you need to use this action first:
Otherwise, the camera will attempt to follow both units. You actually use the same trigger fro start/stop followiong. There was a lot of frustration before I foudn that out :)
Please let me know if you try this online. Can several players share a camera object?