LuaLibraries.wiki
changeset 530 9d1b7bddb6d2
parent 529 f3e3229af8bf
child 531 5628b472ab0d
equal deleted inserted replaced
529:f3e3229af8bf 530:9d1b7bddb6d2
   314 AddEvent(condFunc2, condArgs2, doFunc, doArgs)
   314 AddEvent(condFunc2, condArgs2, doFunc, doArgs)
   315 RemoveEventFunc(condFunc1) --Removes all three events that have condFunc1
   315 RemoveEventFunc(condFunc1) --Removes all three events that have condFunc1
   316 RemoveEventFunc(condFunc2, condArgs1) --Removes a single event</code>
   316 RemoveEventFunc(condFunc2, condArgs1) --Removes a single event</code>
   317 
   317 
   318 === `CheckEvents` ===
   318 === `CheckEvents` ===
   319 <blockquote> 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`.
   319 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`.
   320 
   320 
   321 
   321 
   322 = Params =
   322 = Params =
   323 The Params library is a small library introduced in 0.9.21. It provides a function to parse the parameter string `ScriptParam` and it is intended to simplify using this string.
   323 The Params library is a small library introduced in 0.9.21. It provides a function to parse the parameter string `ScriptParam` and it is intended to simplify using this string.
   324 
   324