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