forked from otland/forgottenserver
-
Notifications
You must be signed in to change notification settings - Fork 0
Interface:Actions
marksamman edited this page Oct 21, 2014
·
5 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_
- _isHotkey_ - _Boolean, true if hotkey was used_