Once I get that upgrade to 36-hour days, I will tackle that. – Mychaeel

Difference between revisions of "UE3:PlayerController exec functions (UDK)"

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
(Talk)
 
(Talk)
Line 53: Line 53:
  
 
<!-- enter function description -->
 
<!-- enter function description -->
 
====DebugPause====
 
{{code|exec function '''DebugPause''' ()}}
 
 
Dumps the pause state of the game
 
  
 
====EnableCheats====
 
====EnableCheats====
Line 83: Line 78:
  
 
<!-- enter function description -->
 
<!-- enter function description -->
 +
 +
====LogLoc====
 +
{{code|exec function '''LogLoc''' ()}}
 +
 +
Logs the current location in bugit format without taking screenshot and further routing.
  
 
====Mutate====
 
====Mutate====

Revision as of 05:24, 17 January 2010

UDK Object >> Actor >> Controller >> PlayerController (exec functions)
PlayerController exec functions in other games:
U2, U2XMP, UE2Runtime, UT2003, UT2004, UT3
Other member categories for this class:
events, instance functions, internal variables, native functions, states

Exec functions

BugIt

exec event BugIt (optional string ScreenShotDescription)

This function is used to print out the BugIt location. It prints out copy and paste versions for both IMing someone to type in and also a gameinfo ?options version so that you can append it to your launching url and be taken to the correct place. Additionally, it will take a screen shot so reporting bugs is a one command action!

BugItAI

exec event BugItAI (optional string ScreenShotDescription)


BugItStringCreator

exec event BugItStringCreator (const out Object.Vector ViewLocation, const out Object.Rotator ViewRotation, out string GoString, out string LocString)

This will create a BugItGo string for us. Nice for calling form c++ where you just want the string and no Screenshots *

BugItGo

exec function BugItGo (coerce float X, coerce float Y, coerce float Z, coerce int Pitch, coerce int Yaw, coerce int Roll)

This will move the player and set their rotation to the passed in values. We have this version of the BugIt family as it is easier to type in just raw numbers in the console.

Camera

exec function Camera (name NewMode)

Change Camera mode

Parameters:

  • New - camera mode to set

CauseEvent

exec function CauseEvent (optional name EventName)


CE

exec function CE (optional name EventName)

Shortcut version for LDs who get tired of typing 'CauseEvent' all day. :-)

ChangeTeam

exec function ChangeTeam (optional string TeamName)


EnableCheats

exec function EnableCheats ()


FOV

exec function FOV (float F)


ListCE

exec function ListCE ()


ListConsoleEvents

exec function ListConsoleEvents ()

Lists all console events to the HUD.

LocalTravel

exec function LocalTravel (string URL)


LogLoc

exec function LogLoc ()

Logs the current location in bugit format without taking screenshot and further routing.

Mutate

exec function Mutate (string MutateString)


NextWeapon

exec function NextWeapon ()


PathChild

exec function PathChild (optional int Cnt)


PathClear

exec function PathClear ()


PathStep

exec function PathStep (optional int Cnt)


Pause

exec function Pause ()


PrevWeapon

exec function PrevWeapon ()


QuickLoad

exec function QuickLoad ()

Loads the savegame created by the quicksave exec

QuickSave

exec function QuickSave ()

Console exec that initiates a quicksave and displays a string providing visual feedback.

RestartLevel

exec function RestartLevel ()


SaveActorConfig

exec function SaveActorConfig (coerce name actorName)

Force a save config on the specified actor.

SaveClassConfig

exec function SaveClassConfig (coerce string className)

Force a save config on the specified class.

Say

exec function Say (string Msg)


SetAudioGroupVolume

exec native function SetAudioGroupVolume (name GroupName, float Volume)

Sets the Audio Group to this the value passed in *

SetName

exec function SetName (coerce string S)


SetShowSubtitles

native simulated exec function SetShowSubtitles (bool bValue)

This will turn the subtitles on or off depending on the value of bValue

Parameters:

  • bValue - to show or not to show

ShowGameState

exec function ShowGameState ()


ShowMenu

exec function ShowMenu ()


ShowPlayerState

exec function ShowPlayerState ()


Speech

exec function Speech (name Type, int Index, string Callsign)


StartAltFire

exec function StartAltFire (optional byte FireModeNum)


StartFire

exec function StartFire (optional byte FireModeNum)


StopAltFire

exec function StopAltFire (optional byte FireModeNum)


StopFire

exec function StopFire (optional byte FireModeNum)


Suicide

exec function Suicide ()


SwitchLevel

exec function SwitchLevel (string URL)


SwitchTeam

exec function SwitchTeam ()


Talk

exec function Talk ()


TeamSay

exec function TeamSay (string Msg)


TeamTalk

exec function TeamTalk ()


ThrowWeapon

exec function ThrowWeapon ()


Use

exec function Use ()

Entry point function for player interactions with the world, re-directs to ServerUse.

UTrace

exec function UTrace ()