Category:Player Condition

From OpenKore Wiki
Revision as of 08:36, 8 September 2010 by EternalHarvest (talk | contribs) (adding custom conditions)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Condition about player's status/information.

Currently, only the partySkill configuration block uses these conditions.


Adding Custom Player Conditions

Hook checkPlayerCondition has the following fields in argument hash:

  • player - currently checked player's Actor object
  • prefix - currently checked config block's prefix (blockOption's value would be $config{$prefix."_blockOption"})
  • return - set to 0 to indicate that condition failed