# HG changeset patch # User Wuzzy # Date 1525304553 -3600 # Node ID 8d095c221b3d217e7000fdf024f319c294028955 # Parent 3a6e995ec04104ac1f93e1171fe79ab3670a03f1 LuaLibraryAnimate: add CheckEvents brackets diff -r 3a6e995ec041 -r 8d095c221b3d LuaLibraryAnimate.wiki --- a/LuaLibraryAnimate.wiki Thu May 03 00:40:44 2018 +0100 +++ b/LuaLibraryAnimate.wiki Thu May 03 00:42:33 2018 +0100 @@ -220,7 +220,7 @@ RemoveEventFunc(condFunc1) --Removes all three events that have condFunc1 RemoveEventFunc(condFunc2, condArgs1) --Removes a single event -=== `CheckEvents` === +=== `CheckEvents()` === Verifies all the condition functions in the events list and calls the respective ‘action’ functions if the conditions are met. If the `evType` of a completed event equals `0` then it is removed from the list. This function is best placed in `onGameTick`. == Misc. ==