# HG changeset patch # User Wuzzy # Date 1557238694 -3600 # Node ID 0b12f567dfe332e09ebb170cc8cb6c1648c9ed33 # Parent af6ecc5b7dd47711d81cac74ace739fc16805fd3 LuaLibraryAnimate: Update SetAnimSkip for 1.0.0 diff -r af6ecc5b7dd4 -r 0b12f567dfe3 LuaLibraryAnimate.wiki --- a/LuaLibraryAnimate.wiki Mon May 06 02:22:31 2019 +0100 +++ b/LuaLibraryAnimate.wiki Tue May 07 15:18:14 2019 +0100 @@ -81,8 +81,10 @@ === `SetAnimSkip(bool)` === Sets the state of animation skipping to `bool`. It is useful in case the player is allowed to skip the animation. +By convention, a cut scene in a singleplayer mission should be skipped when the player presses the Precise key. In this case, use the `onPreciseLocal` callback for this. + Example: -function onPrecise() +function onPreciseLocal() if AnimInProgress() then SetAnimSkip(true) end