Always snap to grid

UE2:Actor native functions (U2)

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

Contents

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

Native functions

DemoPlaySound

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

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


AnimBlendToAlpha

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


AnimIsInGroup

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


AttachToBone

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


AutonomousPhysics

native(3971) final function AutonomousPhysics (float DeltaSeconds)


BoneRefresh

native final function BoneRefresh ()


Clock

native final function Clock (out float time)


ConsoleCommand

native function string ConsoleCommand (string Command)


ConvertRelativeLocation

native final function Object.Vector ConvertRelativeLocation (Object.Vector NewLocation)


DebugClock

native final function DebugClock ()


DebugUnclock

native final function DebugUnclock ()


Destroy

native(279) final function bool Destroy ()


DetachFromBone

native final function bool DetachFromBone (Actor Attachment)


DrawDebugLine

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


EnableChannelNotify

native final function EnableChannelNotify (int Channel, int Switch)


Error

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


FastTrace

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


ForceFeedbackSupported

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


FreezeAnimAt

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


GetAnimParams

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


GetBoneCoords

native final function Object.Coords GetBoneCoords (name BoneName)


GetBoneRotation

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


GetCacheEntry

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


GetClient

native final function client GetClient ()


GetCollisionBoundingBox

native final function Object.Box GetCollisionBoundingBox ()


GetMapName

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


GetMeshName

native final function string GetMeshName ()


GetNextInt

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


GetNextIntDesc

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


GetNextSkin

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


GetNotifyChannel

native final function int GetNotifyChannel ()


GetRenderBoundingSphere

native final function Object.Plane GetRenderBoundingSphere ()


GetRootLocation

native final function Object.Vector GetRootLocation ()


GetRootLocationDelta

native final function Object.Vector GetRootLocationDelta ()


GetRootRotation

native final function Object.Rotator GetRootRotation ()


GetRootRotationDelta

native final function Object.Rotator GetRootRotationDelta ()


GetSoundDuration

native final function float GetSoundDuration (Sound Sound)


GetURLMap

native(547) final function string GetURLMap ()


HasAnim

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


IsAnimating

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


IsTweening

native final function bool IsTweening (int Channel)


KAddBoneLifter

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


KAddImpulse

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


KDisableCollision

native final function KDisableCollision (Actor Other)


KDrawRigidBodyState

native final function KDrawRigidBodyState (KRigidBodyState RBState, bool AltColour)


KEnableCollision

native final function KEnableCollision (Actor Other)


KFreezeRagdoll

native final function KFreezeRagdoll ()


KGetActorGravScale

native final function float KGetActorGravScale ()


KGetCOMOffset

native final function KGetCOMOffset (out Object.Vector offset)


KGetCOMPosition

native final function KGetCOMPosition (out Object.Vector pos)


KGetDampingProps

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


KGetFriction

native final function float KGetFriction ()


KGetImpactThreshold

native final function float KGetImpactThreshold ()


KGetInertiaTensor

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


KGetMass

native final function float KGetMass ()


KGetRBQuaternion

native final function Object.Quat KGetRBQuaternion ()


KGetRestitution

native final function float KGetRestitution ()


KGetRigidBodyState

native final function KGetRigidBodyState (out KRigidBodyState RBstate)


KGetSkelMass

native final function float KGetSkelMass ()


KIsAwake

native final function bool KIsAwake ()


KIsRagdollAvailable

native final function bool KIsRagdollAvailable ()


KMakeRagdollAvailable

native final function KMakeRagdollAvailable ()


KRBVecFromVector

native final function KRBVec KRBVecFromVector (Object.Vector v)


KRBVecToVector

native final function Object.Vector KRBVecToVector (KRBVec RBvec)


KRemoveAllBoneLifters

native final function KRemoveAllBoneLifters ()


KRemoveLifterFromBone

native final function KRemoveLifterFromBone (name BoneName)


KSetActorGravScale

native final function KSetActorGravScale (float ActorGravScale)


KSetBlockKarma

native final function KSetBlockKarma (bool newBlock)


KSetCOMOffset

native final function KSetCOMOffset (Object.Vector offset)


KSetDampingProps

native final function KSetDampingProps (float lindamp, float angdamp)


KSetFriction

native final function KSetFriction (float Friction)


KSetImpactThreshold

native final function KSetImpactThreshold (float thresh)


KSetInertiaTensor

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


KSetMass

native final function KSetMass (float mass)


KSetRestitution

native final function KSetRestitution (float rest)


KSetSkelVel

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


KSetStayUpright

native final function KSetStayUpright (bool stayUpright, bool allowRotate)


KSetStayUprightParams

native final function KSetStayUprightParams (float Stiffness, float Damping)


KWake

native final function KWake ()


LinkMesh

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


LinkSkelAnim

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


LockRootMotion

native final function LockRootMotion (int Lock)


LoopAnim

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


MakeNoise

native(512) final function MakeNoise (float Loudness)


Move

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


MoveCacheEntry

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


MoveSmooth

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


OnlyAffectPawns

native final function OnlyAffectPawns (bool B)


PauseAudio

native function PauseAudio (optional bool bPauseMusic)


PlayAnim

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


PlayerCanSeeMe

native(532) final function bool PlayerCanSeeMe ()


PlayFeedbackEffect

native(566) final function PlayFeedbackEffect (string EffectName)


PlayMusic

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


PlayOwnedSound

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

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)


RadarAddActor

native function RadarAddActor ()


RadarRemoveActor

native function RadarRemoveActor ()


SetAnimFrame

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


SetBase

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


SetBoneDirection

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


SetBoneLocation

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


SetBoneRotation

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


SetBoneScale

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


SetClassStatic

native final function SetClassStatic (class<ActorTargetClass, bool bVal)


SetCollision

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


SetCollisionSize

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


SetDrawScale

native final function SetDrawScale (float NewScale)


SetDrawScale3D

native final function SetDrawScale3D (Object.Vector NewScale3D)


SetDrawType

native final function SetDrawType (EDrawType NewDrawType)


SetLocation

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


SetNetDirty

native final function SetNetDirty (bool bVal)


SetOwner

native(272) final function SetOwner (Actor NewOwner)


SetPhysics

native(3970) final function SetPhysics (EPhysics newPhysics)


SetRelativeLocation

native final function bool SetRelativeLocation (Object.Vector NewLocation)


SetRelativeRotation

native final function bool SetRelativeRotation (Object.Rotator NewRotation)


SetRotation

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


SetStaticMesh

native final function SetStaticMesh (StaticMesh NewStaticMesh)


SetTimer

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


Spawn

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


StopAllMusic

native final function StopAllMusic (float FadeOutTime)


StopAnimating

native final function StopAnimating (optional bool ClearAllButBase)


StopFeedbackEffect

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


StopMusic

native final function StopMusic (int SongHandle, float FadeOutTime)


SuggestFallVelocity

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


TestLocation

native final function bool TestLocation (Object.Vector TestLocation)


Trace

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

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


UnClock

native final function UnClock (out float time)


UnPauseAudio

native function UnPauseAudio ()