PDA

View Full Version : “Simulated function PostBeginPlay” and “Behindview”


Silver_Ibex
8th Nov 2001, 12:18 AM
Basically I have put together a killer Third person view code.

And with help from Brood_of_Evil now have a real nice aiming system for it based around a modified laser sight code, for more details see
First Post (http://forums.beyondunreal.com/showthread.php?threadid=91122)
Now I need to make this dynamic “Laser” aimer only visible to its owner, the catch is your in the Behindview = 1 state, and the “Simulated function PostBeginPlay” example code only works in the first person view Behindview = 0 state.
Can someone please tell me how to tell the “Laser” that its owner is the “Behindview” camera???
Is this possible with UT?

Brood_of_Evil
8th Nov 2001, 09:52 PM
Well, the problem is that the "BehindView" camera is not an actor, it's the vector in which the view of the player is set when called BehindView 1. However, I don't think the behind view height is high enough to enable the user to see the sight on that mode.

Silver_Ibex
9th Nov 2001, 01:30 AM
I think I solved the problem, though I still need to do a final test with it on a network before I know for sure. :D