Newbie Mutator question
I haven't scripted before and I am about to start. I got some programming skills but I am totally new to unrealscript. What I want to do is create a mutator that changes this function in Pawn.uc.
simulated function name GetDefaultCameraMode( PlayerController RequestedBy )
if ( RequestedBy != None && RequestedBy.PlayerCamera != None && RequestedBy.PlayerCamera.CameraStyle == 'Fixed' )
I want it to return 'ThirdPerson' instead. Very simple.
How do I write a mutator to do a simple thing like this?
I figured it out all by myself. This is my solution.
function ModifyPlayer(Pawn Other)
if ( NextMutator != None )
if ( Other.Controller != None && PlayerController(Other.Controller) != None )