-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Metatable:Condition
dalkon edited this page Oct 4, 2014
·
5 revisions
No description available at the moment.
###Available methods:
clone()
[setParameter(key, value)](#setParameter{key, value})
getType()
[setFormula(mina, minb, maxa, maxb)](#setFormula{mina, minb, maxa, maxb})
getSubId()
addOutfit(outfit)
[addOutfit(lookTypeEx, lookType, lookHead, lookBody, lookLegs, lookFeet[, lookAddons[, lookMount]])](#addOutfit{lookTypeEx, lookType, lookHead, lookBody, lookLegs, lookFeet[, lookAddons[, lookMount]]})
getIcons()
getId()
getTicks()
getEndTime()
[addDamage(rounds, time, value)](#addDamage{rounds, time, value})
setTicks(ticks)
###### clone() > **Description:** N/A > **Parameters:** None > **Returns:** N/A > **Example:** ```Lua local condition = Condition(...) condition:clone() ``` > **Added in version:** 1.0
###### setParameter(key, value) > **Description:** N/A > **Parameters:**
- _key_ - _No description_
- _value_ - _No description_
###### getType() > **Description:** N/A > **Parameters:** None > **Returns:** N/A > **Example:** ```Lua local condition = Condition(...) condition:getType() ``` > **Added in version:** 1.0
###### setFormula(mina, minb, maxa, maxb) > **Description:** N/A > **Parameters:**
- _mina_ - _No description_
- _minb_ - _No description_
- _maxa_ - _No description_
- _maxb_ - _No description_
###### getSubId() > **Description:** N/A > **Parameters:** None > **Returns:** N/A > **Example:** ```Lua local condition = Condition(...) condition:getSubId() ``` > **Added in version:** 1.0
###### addOutfit(outfit) > **Description:** N/A > **Parameters:**
- _outfit_ - _No description_
###### addOutfit(lookTypeEx, lookType, lookHead, lookBody, lookLegs, lookFeet[, lookAddons[, lookMount]]) > **Description:** N/A > **Parameters:**
- _lookTypeEx_ - _No description_
- _lookType_ - _No description_
- _lookHead_ - _No description_
- _lookBody_ - _No description_
- _lookLegs_ - _No description_
- _lookFeet_ - _No description_
- _lookAddons_ - _(optional)_
- _lookMount_ - _(optional)_
###### getIcons() > **Description:** N/A > **Parameters:** None > **Returns:** N/A > **Example:** ```Lua local condition = Condition(...) condition:getIcons() ``` > **Added in version:** 1.0
###### getId() > **Description:** N/A > **Parameters:** None > **Returns:** N/A > **Example:** ```Lua local condition = Condition(...) condition:getId() ``` > **Added in version:** 1.0
###### getTicks() > **Description:** N/A > **Parameters:** None > **Returns:** N/A > **Example:** ```Lua local condition = Condition(...) condition:getTicks() ``` > **Added in version:** 1.0
###### getEndTime() > **Description:** N/A > **Parameters:** None > **Returns:** N/A > **Example:** ```Lua local condition = Condition(...) condition:getEndTime() ``` > **Added in version:** 1.0
###### addDamage(rounds, time, value) > **Description:** N/A > **Parameters:**
- _rounds_ - _No description_
- _time_ - _No description_
- _value_ - _No description_
###### setTicks(ticks) > **Description:** N/A > **Parameters:**
- _ticks_ - _No description_