LuaLibraries.wiki
changeset 938 aa5d58152f50
parent 935 97361ff66b78
child 939 39ed0b23ef49
equal deleted inserted replaced
937:76cfd320603d 938:aa5d58152f50
   186 AddAnim(cinem)</code>
   186 AddAnim(cinem)</code>
   187 
   187 
   188 ==== `RemoveAnim(steps)` ====
   188 ==== `RemoveAnim(steps)` ====
   189 Removes `steps` from the animations array.
   189 Removes `steps` from the animations array.
   190 
   190 
   191 === `AddSkipFunction(anim, func, args)` ===
   191 ==== `AddSkipFunction(anim, func, args)` ====
   192 Adds `func` to the array of functions used to skip animations, associating it with `anim`. When the animation is skipped (see below), the function is called with `args` as arguments.
   192 Adds `func` to the array of functions used to skip animations, associating it with `anim`. When the animation is skipped (see below), the function is called with `args` as arguments.
   193 Example:
   193 Example:
   194 <code language="lua">AddSkipFunc(cinem, SkipCinem, {})</code>
   194 <code language="lua">AddSkipFunc(cinem, SkipCinem, {})</code>
   195 
   195 
   196 ==== `RemoveSkipFunction(anim)` ====
   196 ==== `RemoveSkipFunction(anim)` ====