StopAnim: Difference between revisions

From Wiki G1R-MP G1 Remake Multiplayer
Jump to navigation Jump to search
Automatyczna aktualizacja dokumentacji funkcji
 
Complete Lua function catalog
Line 28: Line 28:
* Experimental: this affects the scripted animation layer and does not replace the normal replicated locomotion or action system.
* Experimental: this affects the scripted animation layer and does not replace the normal replicated locomotion or action system.


[[Category:Lua Functions]]
[[Category:Server Functions]]
[[Category:Server Functions]]
[[Category:Animation Functions]]
[[Category:Animation Functions]]
[[Category:Experimental Lua API]]
[[Category:Experimental Lua API]]

Revision as of 09:55, 15 August 2026

stopAnim

Stops a scripted visual animation previously requested for a player.

Syntax

bool stopAnim(int playerId)

Parameters

Name Type Required Description
playerId int yes The connected player identifier.

Returns

Returns true when the stop request is accepted and queued; otherwise returns false.

Examples

Stop a scripted animation:

stopAnim(playerId)

Notes

  • Available only in server-side resource scripts.
  • Experimental: this affects the scripted animation layer and does not replace the normal replicated locomotion or action system.