GetPlayerMovementSpeed: Difference between revisions

From Onset Developer Wiki
Created page with "{{Info|Function|Server|1.0}} {{FuncDescription|__EDIT_ME__}} {{FuncSyntax|GetPlayerMovementSpeed(player)}} {{FuncParameters}} {{FuncParam|player|__EDIT_ME__}} {{FuncReturn..."
 
No edit summary
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Info|Function|Server|1.0}}
{{Info|Function|Server & Client|1.0}}


{{FuncDescription|__EDIT_ME__}}
{{FuncDescription|Get the player's movement speed.}}


{{FuncSyntax|GetPlayerMovementSpeed(player)}}
{{FuncSyntax|GetPlayerMovementSpeed(player)}}


{{FuncParameters}}
{{FuncParameters}}
{{FuncParam|player|__EDIT_ME__}}
{{FuncParam|player|The player identifier.}}


{{FuncReturnValue|__EDIT_ME__}}
{{FuncReturnValue|Returns the movement speed as a float.}}


== Example ==
== Example ==
__EDIT_ME__
<syntaxhighlight lang="Lua">
local speed = GetPlayerMovementSpeed(player)
</syntaxhighlight>


{{RelatedFunctions}}
{{RelatedFunctions}}
__EDIT_ME__
*[[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 20:11, 2 September 2020