Skip to content

Interface:Actions

Christian Johansson edited this page Aug 20, 2014 · 7 revisions

Actions stuff... (TODO)

-- Empty!

###Available events: onUse()


###### onUse() > **Description:** This event runs each time a player uses an item by itself or with another item. > **Parameters:**
  • _cid_ - _Creature ID that uses the item._
  • _item_ - _Use or Use with... (first item)_
  • _fromPosition_ - _Starting position_
  • _itemEx_ - _Use with... (second item or creature)_
  • _toPosition_ - _End position_
> **Accepted return values:** N/A > **Example:** ```Lua N/A ``` Added in version: 1.0

Clone this wiki locally