ViewTarget problem

  • Two Factor Authentication is now available on BeyondUnreal Forums. To configure it, visit your Profile and look for the "Two Step Verification" option on the left side. We can send codes via email (may be slower) or you can set up any TOTP Authenticator app on your phone (Authy, Google Authenticator, etc) to deliver codes. It is highly recommended that you configure this to keep your account safe.

BongoBoy

New Member
May 28, 2004
30
0
0
hello, i am new here, i don't code a lot in unreal but i do code in Rune, wich is a UT engine-based game... i am having a problem with the ViewTarget in my mod...

The mod has a set of cameras in each level so players can view from(like security cameras in DukeNukem)... this is used by
"
ViewTarget = TCam;
bBehindView = ( ViewTarget != None );
if ( bBehindView )
ViewTarget.BecomeViewTarget();
"
when the player finish to see from all the cameras it returns to see from himself by
"
bBehindView = false;
Viewtarget = None;
"

also there is a case a player can see from the mead-carriar(The player everyone is after and should kill him) eyes and its done pretty much the same way

for the net owner it works great, but for clients, after u finish to see from all the cameras and should return to yourself, although u see yourself and where-ever u r, all of the actors are unseen to u unless the netowner is watching them too(when u were looking through his eyes when he was a carriar... i don't remember if its the same on the cameras)... so my question is, WTF????? i did it the same way u view from your teammates in the game and that works, why doesn't this work for me? :(