Skip to content

Metatable:Condition

Stefan A. Brannfjell edited this page Dec 19, 2017 · 5 revisions

No description available at the moment.

Available methods:

addDamage(rounds, time, value)
clone()
getEndTime()
getIcons()
getId()
getSubId()
getTicks()
getType()
setFormula(mina, minb, maxa, maxb)
setOutfit(outfit)
setOutfit(lookTypeEx, lookType, lookHead, lookBody, lookLegs, lookFeet, lookAddons, lookMount)
setParameter(key, value)
setTicks(ticks)


addDamage(rounds, time, value)

Description: N/A
Parameters:

  • rounds - No description
  • time - No description
  • value - No description
Returns: N/A
Example:
local condition = Condition(...)
condition:addDamage(3, 2, 5)

Added in version: 1.0


clone()

Description: N/A
Parameters: None
Returns: N/A
Example:

local condition = Condition(...)
condition:clone()

Added in version: 1.0


getEndTime()

Description: N/A
Parameters: None
Returns: N/A
Example:

local condition = Condition(...)
condition:getEndTime()

Added in version: 1.0


getIcons()

Description: N/A
Parameters: None
Returns: N/A
Example:

local condition = Condition(...)
condition:getIcons()

Added in version: 1.0


getId()

Description: N/A
Parameters: None
Returns: N/A
Example:

local condition = Condition(...)
condition:getId()

Added in version: 1.0


getSubId()

Description: N/A
Parameters: None
Returns: N/A
Example:

local condition = Condition(...)
condition:getSubId()

Added in version: 1.0


getTicks()

Description: N/A
Parameters: None
Returns: N/A
Example:

local condition = Condition(...)
condition:getTicks()

Added in version: 1.0


getType()

Description: N/A
Parameters: None
Returns: N/A
Example:

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
Returns: N/A
Example:
local condition = Condition(...)
condition:setFormula(0, 0, 1, 1)

Added in version: 1.0


setOutfit(outfit)

Description: N/A
Parameters:

  • outfit - No description
Returns: N/A
Example:
local condition = Condition(...)
condition:setOutfit(unknown)

Added in version: 1.0


setOutfit(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)
Returns: N/A
Example:
local condition = Condition(...)
condition:setOutfit(0, 128, 0, 0, 0, 0, nil, nil)

Added in version: 1.0


setParameter(key, value)

Description: N/A
Parameters:

  • key - No description
  • value - No description
Returns: N/A
Example:
local condition = Condition(...)
condition:setParameter(CONDITION_PARAM_SPEED, 150)

Added in version: 1.0


setTicks(ticks)

Description: N/A
Parameters:

  • ticks - No description
Returns: N/A
Example:
local condition = Condition(...)
condition:setTicks(1000)

Added in version: 1.0

Clone this wiki locally