I don't need to test my programs. I have an error-correcting modem.

UE2:Actor native functions (UE2Runtime)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
UE2Runtime Object >> Actor (native functions)

Contents

Actor native functions in other games:
RTNP, U1, UT, U2, U2XMP, UT2003, UT2004, UT3, UDK
Other member categories for this class:
enums, events, internal variables, properties

Native functions[edit]

DemoPlaySound[edit]

native simulated event DemoPlaySound (Sound Sound, optional ESoundSlot Slot, optional float Volume, optional bool bNoOverride, optional float Radius, optional float Pitch, optional bool Attenuate)


AnimBlendParams[edit]

native final function AnimBlendParams (int Stage, optional float BlendAlpha, optional float InTime, optional float OutTime, optional name BoneName, optional bool bGlobalPose)


AnimBlendToAlpha[edit]

native final function AnimBlendToAlpha (int Stage, float TargetAlpha, float TimeInterval)


AnimIsInGroup[edit]

native final function bool AnimIsInGroup (int Channel, name GroupName)


AttachToBone[edit]

native final function bool AttachToBone (Actor Attachment, name BoneName)


AutonomousPhysics[edit]

native(3971) final function AutonomousPhysics (float DeltaSeconds)


BoneRefresh[edit]

native final function BoneRefresh ()


Clock[edit]

native final function Clock (out float time)


ConsoleCommand[edit]

native function string ConsoleCommand (string Command)


DebugClock[edit]

native final function DebugClock ()


DebugUnclock[edit]

native final function DebugUnclock ()


Destroy[edit]

native(279) final function bool Destroy ()


DetachFromBone[edit]

native final function bool DetachFromBone (Actor Attachment)


DrawDebugLine[edit]

native final function DrawDebugLine (Object.Vector LineStart, Object.Vector LineEnd, byte R, byte G, byte B)


EnableChannelNotify[edit]

native final function EnableChannelNotify (int Channel, int Switch)


Error[edit]

native(233) final function Error (coerce string S)


FastTrace[edit]

native(548) final function bool FastTrace (Object.Vector TraceEnd, optional Object.Vector TraceStart)


ForceFeedbackSupported[edit]

native(568) final function bool ForceFeedbackSupported (optional bool Enable)


FreezeAnimAt[edit]

native final function FreezeAnimAt (float Time, optional int Channel)


GetAnimParams[edit]

native final function GetAnimParams (int Channel, out name OutSeqName, out float OutAnimFrame, out float OutAnimRate)


GetBoneCoords[edit]

native final function Object.Coords GetBoneCoords (name BoneName)


GetBoneRotation[edit]

native final function Object.Rotator GetBoneRotation (name BoneName, optional int Space)


GetCacheEntry[edit]

native final function bool GetCacheEntry (int Num, out string GUID, out string Filename)


GetMapName[edit]

native(539) final function string GetMapName (string NameEnding, string MapName, int Dir)


GetMeshName[edit]

native final function string GetMeshName ()


GetNextInt[edit]

native final function string GetNextInt (string ClassName, int Num)


GetNextIntDesc[edit]

native final function GetNextIntDesc (string ClassName, int Num, out string Entry, out string Description)


GetNextSkin[edit]

native(545) final function GetNextSkin (string Prefix, string CurrentSkin, int Dir, out string SkinName, out string SkinDesc)


GetNotifyChannel[edit]

native final function int GetNotifyChannel ()


GetRenderBoundingSphere[edit]

native final function Object.Plane GetRenderBoundingSphere ()


GetRootLocation[edit]

native final function Object.Vector GetRootLocation ()


GetRootLocationDelta[edit]

native final function Object.Vector GetRootLocationDelta ()


GetRootRotation[edit]

native final function Object.Rotator GetRootRotation ()


GetRootRotationDelta[edit]

native final function Object.Rotator GetRootRotationDelta ()


GetSoundDuration[edit]

native final function float GetSoundDuration (Sound Sound)


GetURLMap[edit]

native(547) final function string GetURLMap ()


HasAnim[edit]

native(263) final function bool HasAnim (name Sequence)


IsAnimating[edit]

native(282) final function bool IsAnimating (optional int Channel)


IsTweening[edit]

native final function bool IsTweening (int Channel)


KAddBoneLifter[edit]

native final function KAddBoneLifter (name BoneName, Object.InterpCurve LiftVel, float LateralFriction, Object.InterpCurve Softness)


KAddImpulse[edit]

native final function KAddImpulse (Object.Vector Impulse, Object.Vector Position, optional name BoneName)


KDisableCollision[edit]

native final function KDisableCollision (Actor Other)


KDrawRigidBodyState[edit]

native final function KDrawRigidBodyState (KRigidBodyState RBState, bool AltColour)


KEnableCollision[edit]

native final function KEnableCollision (Actor Other)


KFreezeRagdoll[edit]

native final function KFreezeRagdoll ()


KGetActorGravScale[edit]

native final function float KGetActorGravScale ()


KGetCOMOffset[edit]

native final function KGetCOMOffset (out Object.Vector offset)


KGetCOMPosition[edit]

native final function KGetCOMPosition (out Object.Vector pos)


KGetDampingProps[edit]

native final function KGetDampingProps (out float lindamp, out float angdamp)


KGetFriction[edit]

native final function float KGetFriction ()


KGetImpactThreshold[edit]

native final function float KGetImpactThreshold ()


KGetInertiaTensor[edit]

native final function KGetInertiaTensor (out Object.Vector it1, out Object.Vector it2)


KGetMass[edit]

native final function float KGetMass ()


KGetRBQuaternion[edit]

native final function Object.Quat KGetRBQuaternion ()


KGetRestitution[edit]

native final function float KGetRestitution ()


KGetRigidBodyState[edit]

native final function KGetRigidBodyState (out KRigidBodyState RBstate)


KGetSkelMass[edit]

native final function float KGetSkelMass ()


KIsAwake[edit]

native final function bool KIsAwake ()


KIsRagdollAvailable[edit]

native final function bool KIsRagdollAvailable ()


KMakeRagdollAvailable[edit]

native final function KMakeRagdollAvailable ()


KRBVecFromVector[edit]

native final function KRBVec KRBVecFromVector (Object.Vector v)


KRBVecToVector[edit]

native final function Object.Vector KRBVecToVector (KRBVec RBvec)


KRemoveAllBoneLifters[edit]

native final function KRemoveAllBoneLifters ()


KRemoveLifterFromBone[edit]

native final function KRemoveLifterFromBone (name BoneName)


KSetActorGravScale[edit]

native final function KSetActorGravScale (float ActorGravScale)


KSetBlockKarma[edit]

native final function KSetBlockKarma (bool newBlock)


KSetCOMOffset[edit]

native final function KSetCOMOffset (Object.Vector offset)


KSetDampingProps[edit]

native final function KSetDampingProps (float lindamp, float angdamp)


KSetFriction[edit]

native final function KSetFriction (float friction)


KSetImpactThreshold[edit]

native final function KSetImpactThreshold (float thresh)


KSetInertiaTensor[edit]

native final function KSetInertiaTensor (Object.Vector it1, Object.Vector it2)


KSetMass[edit]

native final function KSetMass (float mass)


KSetRestitution[edit]

native final function KSetRestitution (float rest)


KSetSkelVel[edit]

native final function KSetSkelVel (Object.Vector Velocity, optional Object.Vector AngVelocity, optional bool AddToCurrent)


KSetStayUpright[edit]

native final function KSetStayUpright (bool stayUpright, bool allowRotate)


KSetStayUprightParams[edit]

native final function KSetStayUprightParams (float stiffness, float damping)


KWake[edit]

native final function KWake ()


LinkMesh[edit]

simulated native final function LinkMesh (Mesh NewMesh, optional bool bKeepAnim)


LinkSkelAnim[edit]

simulated native final function LinkSkelAnim (MeshAnimation Anim, optional Mesh NewMesh)


LockRootMotion[edit]

native final function LockRootMotion (int Lock)


LoopAnim[edit]

native(260) final function LoopAnim (name Sequence, optional float Rate, optional float TweenTime, optional int Channel)


MakeNoise[edit]

native(512) final function MakeNoise (float Loudness)


Move[edit]

native(266) final function bool Move (Object.Vector Delta)


MoveCacheEntry[edit]

native final function bool MoveCacheEntry (string GUID, optional string NewFilename)


MoveSmooth[edit]

native(3969) final function bool MoveSmooth (Object.Vector Delta)


OnlyAffectPawns[edit]

native final function OnlyAffectPawns (bool B)


PlayAnim[edit]

native(259) final function PlayAnim (name Sequence, optional float Rate, optional float TweenTime, optional int Channel)


PlayerCanSeeMe[edit]

native(532) final function bool PlayerCanSeeMe ()


PlayFeedbackEffect[edit]

native(566) final function PlayFeedbackEffect (string EffectName)


PlayMusic[edit]

native final function int PlayMusic (string Song, float FadeInTime)


PlayOwnedSound[edit]

native simulated final function PlayOwnedSound (Sound Sound, optional ESoundSlot Slot, optional float Volume, optional bool bNoOverride, optional float Radius, optional float Pitch, optional bool Attenuate)


PlaySound[edit]

native(264) final function PlaySound (Sound Sound, optional ESoundSlot Slot, optional float Volume, optional bool bNoOverride, optional float Radius, optional float Pitch, optional bool Attenuate)


SetAnimFrame[edit]

native final function SetAnimFrame (float Time, optional int Channel, optional int UnitFlag)


SetBase[edit]

native(298) final function SetBase (Actor NewBase, optional Object.Vector NewFloor)


SetBoneDirection[edit]

native final function SetBoneDirection (name BoneName, Object.Rotator BoneTurn, optional Object.Vector BoneTrans, optional float Alpha, optional int Space)


SetBoneLocation[edit]

native final function SetBoneLocation (name BoneName, optional Object.Vector BoneTrans, optional float Alpha)


SetBoneRotation[edit]

native final function SetBoneRotation (name BoneName, optional Object.Rotator BoneTurn, optional int Space, optional float Alpha)


SetBoneScale[edit]

native final function SetBoneScale (int Slot, optional float BoneScale, optional name BoneName)


SetCollision[edit]

native(262) final function SetCollision (optional bool NewColActors, optional bool NewBlockActors, optional bool NewBlockPlayers)


SetCollisionSize[edit]

native(283) final function bool SetCollisionSize (float NewRadius, float NewHeight)


SetDrawScale[edit]

native final function SetDrawScale (float NewScale)


SetDrawScale3D[edit]

native final function SetDrawScale3D (Object.Vector NewScale3D)


SetDrawType[edit]

native final function SetDrawType (EDrawType NewDrawType)


SetLocation[edit]

native(267) final function bool SetLocation (Object.Vector NewLocation)


SetOwner[edit]

native(272) final function SetOwner (Actor NewOwner)


SetPhysics[edit]

native(3970) final function SetPhysics (EPhysics newPhysics)


SetRelativeLocation[edit]

native final function bool SetRelativeLocation (Object.Vector NewLocation)


SetRelativeRotation[edit]

native final function bool SetRelativeRotation (Object.Rotator NewRotation)


SetRotation[edit]

native(299) final function bool SetRotation (Object.Rotator NewRotation)


SetStaticMesh[edit]

native final function SetStaticMesh (StaticMesh NewStaticMesh)


SetTimer[edit]

native(280) final function SetTimer (float NewTimerRate, bool bLoop)


Spawn[edit]

native(278) final function Actor Spawn (class<ActorSpawnClass, optional Actor SpawnOwner, optional name SpawnTag, optional Object.Vector SpawnLocation, optional Object.Rotator SpawnRotation)


StopAllMusic[edit]

native final function StopAllMusic (float FadeOutTime)


StopAnimating[edit]

native final function StopAnimating (optional bool ClearAllButBase)


StopFeedbackEffect[edit]

native(567) final function StopFeedbackEffect (optional string EffectName)


StopMusic[edit]

native final function StopMusic (int SongHandle, float FadeOutTime)


SuggestFallVelocity[edit]

native final function Object.Vector SuggestFallVelocity (Object.Vector Destination, Object.Vector Start, float MaxZ, float MaxXYSpeed)


Trace[edit]

native(277) final function Actor Trace (out Object.Vector HitLocation, out Object.Vector HitNormal, Object.Vector TraceEnd, optional Object.Vector TraceStart, optional bool bTraceActors, optional Object.Vector Extent, optional out Material Material)


TweenAnim[edit]

native(294) final function TweenAnim (name Sequence, float Time, optional int Channel)


UnClock[edit]

native final function UnClock (out float time)