GetPlayerActor: Difference between revisions
From Onset Developer Wiki
Created page with "{{Info|Function|Client|1.0}} {{FuncDescription|Get the Unreal Engine actor for the Player.}} {{FuncSyntax|GetPlayerActor(playerid)}} {{FuncParameters}} {{FuncParam|playerid..." |
No edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
{{Info|Function|Client|1.0}} | {{Info|Function|Client|1.0}} | ||
{{FuncDescription|Get the Unreal Engine actor for the | {{FuncDescription|Get the Unreal Engine actor for the player. Can then be used with [[UnrealLua]].}} | ||
{{FuncSyntax|GetPlayerActor(playerid)}} | {{FuncSyntax|GetPlayerActor(playerid)}} | ||
Line 8: | Line 8: | ||
{{FuncParam|playerid|The player identifier.}} | {{FuncParam|playerid|The player identifier.}} | ||
{{FuncReturnValue|Returns Unreal Actor | {{FuncReturnValue|Returns a reference to the Unreal Actor on success.}} | ||
== Example == | == Example == | ||
Line 16: | Line 16: | ||
{{RelatedFunctions}} | {{RelatedFunctions}} | ||
*[[TogglePlayerTag]] | |||
*[[SetPlayerVoiceTone]] | |||
*[[GetPlayerActor]] | |||
*[[GetPlayerSkeletalMeshComponent]] | |||
*[[GetPlayerId]] | |||
*[[SetPlayerPropertyValue]] | |||
*[[GetPlayerPropertyValue]] | |||
*[[SetPlayerRotationRate]] | |||
*[[GetPlayerRotationRate]] | |||
*[[GetPlayerWeapon]] | |||
*[[GetWeaponType]] | |||
*[[GetPlayerWeaponMuzzleLocation]] | |||
*[[GetPlayerBoneNames]] | |||
*[[GetAllPlayersInSphere]] | |||
*[[GetAllPlayersInBox]] | |||
*[[GetTerrainHeight]] | |||
*[[EnableFirstPersonCamera]] | |||
*[[IsFirstPersonCamera]] | |||
*[[SetControllerOrientedMovement]] | |||
*[[IsValidPlayer]] | |||
*[[GetPlayerName]] | |||
*[[GetStreamedPlayers]] | |||
*[[GetPlayerLocation]] | |||
*[[GetPlayerHeading]] | |||
*[[IsPlayerTalking]] | |||
*[[GetPlayerHealth]] | |||
*[[GetPlayerArmor]] | |||
*[[GetPlayerMovementMode]] | |||
*[[GetPlayerMovementSpeed]] | |||
*[[IsPlayerAiming]] | |||
*[[IsPlayerReloading]] | |||
*[[IsPlayerDead]] | |||
*[[GetPlayerBoneLocation]] | |||
*[[SetPlayerOutline]] | |||
*[[SetPlayerClothingPreset]] | |||
*[[GetPlayerVehicle]] | |||
*[[IsPlayerInVehicle]] | |||
*[[GetPlayerEquippedWeaponSlot]] | |||
*[[GetPlayerForwardVector]] | |||
*[[GetPlayerRightVector]] | |||
*[[GetPlayerUpVector]] | |||
*[[GetVehicleActor]] | |||
*[[SetPlayerLipMovement]] | |||
*[[IsPlayerPlayingAnimation]] | |||
*[[GetPlayerCount]] | |||
*[[CancelAimImmediately]] |
Latest revision as of 11:11, 2 September 2020
Description
Get the Unreal Engine actor for the player. Can then be used with UnrealLua.
Syntax
GetPlayerActor(playerid)
Parameters
- playerid
The player identifier.
Return Value
- Returns a reference to the Unreal Actor on success.
Example
GetPlayerActor(GetPlayerId())
See also
- TogglePlayerTag
- SetPlayerVoiceTone
- GetPlayerActor
- GetPlayerSkeletalMeshComponent
- GetPlayerId
- SetPlayerPropertyValue
- GetPlayerPropertyValue
- SetPlayerRotationRate
- GetPlayerRotationRate
- GetPlayerWeapon
- GetWeaponType
- GetPlayerWeaponMuzzleLocation
- GetPlayerBoneNames
- GetAllPlayersInSphere
- GetAllPlayersInBox
- GetTerrainHeight
- EnableFirstPersonCamera
- IsFirstPersonCamera
- SetControllerOrientedMovement
- IsValidPlayer
- GetPlayerName
- GetStreamedPlayers
- GetPlayerLocation
- GetPlayerHeading
- IsPlayerTalking
- GetPlayerHealth
- GetPlayerArmor
- GetPlayerMovementMode
- GetPlayerMovementSpeed
- IsPlayerAiming
- IsPlayerReloading
- IsPlayerDead
- GetPlayerBoneLocation
- SetPlayerOutline
- SetPlayerClothingPreset
- GetPlayerVehicle
- IsPlayerInVehicle
- GetPlayerEquippedWeaponSlot
- GetPlayerForwardVector
- GetPlayerRightVector
- GetPlayerUpVector
- GetVehicleActor
- SetPlayerLipMovement
- IsPlayerPlayingAnimation
- GetPlayerCount
- CancelAimImmediately