There is no spoon

UE2:UtilGame (U2)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
U2 Object >> Actor >> UtilGame
Package: 
Engine
This class in other games:
U2XMP

UtilGame.uc $Author: Mfox $ $Date: 1/05/03 8:45p $ $Revision: 38 $ NEW: file

Static functions[edit]

ActorLookingAt[edit]

static final function bool ActorLookingAt (Actor SeeingActor, Actor Target, float FOVCos)


AddAllAmmoPercent[edit]

static function AddAllAmmoPercent (Pawn Other, float AddedAmmoPct)


DumpInventory[edit]

static final function DumpInventory (Pawn P, optional string ContextString)


FindActorByName[edit]

static final function bool FindActorByName (Actor SearchingActor, name ActorName, out Actor FoundActor)


FindNearestLandmark[edit]

static final function Landmark FindNearestLandmark (Actor A)


GetClosestOfClass[edit]

static final function Actor GetClosestOfClass (Actor InstanceActor, name ClassName, bool bIsA)


GetInventoryItem[edit]

static final function Inventory GetInventoryItem (Pawn InventoryHolder, class<InventoryInventoryType)


GetNamedActor[edit]

static final function Actor GetNamedActor (Actor InstanceActor, name N, optional bool bTryClassMatch, optional bool bAllowUnSafe)


GetNamedOrHitActor[edit]

static final function Actor GetNamedOrHitActor (Controller C, optional name TargetName, optional bool bTraceVisibleNonColliding, optional bool bTryClassMatch)


GetRotatedFireStart[edit]

static final function Object.Vector GetRotatedFireStart (Pawn SourcePawn, Object.Vector SourceLocation, Object.Rotator TargetRotation, Object.Vector FireOffset)


GiveInventory[edit]

static final function bool GiveInventory (Pawn TargetPawn, Inventory Inv)


GiveInventoryClass[edit]

static final function Inventory GiveInventoryClass (Pawn TargetPawn, class<InventoryInvClass)


GiveInventoryString[edit]

static final function Inventory GiveInventoryString (Pawn TargetPawn, coerce string InventoryString)


IsInViewCos[edit]

static final function bool IsInViewCos (Object.Vector ViewVec, Object.Vector DirVec, float FOVCos)


MakeShake[edit]

static final function MakeShake (Actor Context, Object.Vector ShakeLocation, float ShakeRadius, float ShakeMagnitude, optional float ShakeDuration)


ScaleAmmoResupplyRate[edit]

static function float ScaleAmmoResupplyRate (Pawn Other, float InitialRate)


SetTeamSkin[edit]

static final function SetTeamSkin (Actor TargetActor, int NewTeam)