Difference between revisions of "Player Parameters (Scripting)"
From Hercules Wiki
(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...") |
|||
(3 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | '''Player Parameters''', in scripting, are a set of params that look | + | '''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 | ||
+ | ** (0) if the character is normal class, (1) if advanced, (2) if baby. | ||
* 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 |
Latest revision as of 02:06, 7 August 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
- (0) if the character is normal class, (1) if advanced, (2) if baby.
- 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