|
|
|
|
|
%itemGetStat()
Aliases | %itemGetStat( ), %itemGetStat( ), %itemGetStat( ) |
---|
Parameters | object @entity, string @statName |
---|
|
Returns the value for a given statName that belongs to the object. The entity may be an object pointer or object keyword. The statName may be any one of the following stat IDs:
areaId level hitpoints id buyValue maxHitpoints uniqueId sellValue name keywords rentCost descInventory shortName weight descRoom longName
The following keywords still work but are deprecated:
hp maxhp
Example:
@weight = %itemGetStat( @o, weight ) |
|
|
|
|
|
|
|