Difference between revisions of "Player Parameters (Scripting)"

From Hercules Wiki
Jump to: navigation, search
(Created page with "'''Player Parameters''', in scripting, are a set of params that look-like character-variables, they exist during runtime only and make certain information regarding the charac...")
 
Line 1: Line 1:
'''Player Parameters''', in scripting, are a set of params that look-like character-variables, they exist during runtime only and make certain information regarding the character available to scripts for read (and write depending on the variable), they're the following:
+
'''Player Parameters''', in [[scripting]], are a set of params that look like [[Variables#Player Variables|character variables]], they exist during runtime only and make certain information regarding the character available to scripts for read (and write depending on the variable), they're the following (most of them are self-explanatory):
 
* StatusPoint
 
* StatusPoint
 +
** Number of remaining Status Points the character has
 
* BaseLevel
 
* BaseLevel
 
* SkillPoint
 
* SkillPoint
 +
** Number of remaining Skill Points the character has
 
* Class
 
* Class
 
* Upper
 
* Upper
 +
** Whether the character is reborn (1), baby (2) or nothing of these (0){{unsure}}
 
* Zeny
 
* Zeny
 
* Sex
 
* Sex
Line 14: Line 17:
 
* JobExp
 
* JobExp
 
* Karma
 
* Karma
 +
** Not officially in use. You can use this param however you want.
 
* Manner
 
* Manner
 
* NextBaseExp
 
* NextBaseExp
Line 24: Line 28:
 
* BaseClass
 
* BaseClass
 
* killerrid
 
* killerrid
 +
** The [[RID]] of the game object that last killed the character.
 
* killedrid
 
* killedrid
 +
** The [[RID]] of the game object that was last killed by the character.
 
* SlotChange
 
* SlotChange
 
** Stores the number of times this character may use the 'slot change' function in char select
 
** Stores the number of times this character may use the 'slot change' function in char select

Revision as of 00:04, 10 May 2013

Player Parameters, in scripting, are a set of params that look like character variables, they exist during runtime only and make certain information regarding the character available to scripts for read (and write depending on the variable), they're the following (most of them are self-explanatory):

  • StatusPoint
    • Number of remaining Status Points the character has
  • BaseLevel
  • SkillPoint
    • Number of remaining Skill Points the character has
  • Class
  • Upper
    • Whether the character is reborn (1), baby (2) or nothing of these (0)unsure?
  • Zeny
  • Sex
    • Whether the character is male (1) or female (0)
  • Weight
  • MaxWeight
  • JobLevel
  • BaseExp
  • JobExp
  • Karma
    • Not officially in use. You can use this param however you want.
  • Manner
  • NextBaseExp
  • NextJobExp
  • Hp
  • MaxHp
  • Sp
  • MaxSp
  • BaseJob
  • BaseClass
  • killerrid
    • The RID of the game object that last killed the character.
  • killedrid
    • The RID of the game object that was last killed by the character.
  • SlotChange
    • Stores the number of times this character may use the 'slot change' function in char select
    • Can be modified
  • CharRename
    • Stores the number of times this character may use the 'char name change' function in char select
    • Can be modified