attribute
Methods
set_attribute_base_rank
attributeIndex: enum ePedAttribute { PA_HEALTH, PA_STAMINA, PA_SPECIALABILITY, PA_COURAGE, PA_AGILITY, PA_SPEED, PA_ACCELERATION, PA_BONDING, SA_HUNGER, SA_FATIGUED, SA_INEBRIATED, SA_POISONED, SA_BODYHEAT, SA_BODYWEIGHT, SA_OVERFED, SA_SICKNESS, SA_DIRTINESS, SA_DIRTINESSHAT, MTR_STRENGTH, MTR_GRIT, MTR_INSTINCT, PA_UNRULINESS, SA_DIRTINESSSKIN };
get_attribute_rank
attributeIndex: see SET_ATTRIBUTE_BASE_RANK
get_attribute_base_rank
attributeIndex: see SET_ATTRIBUTE_BASE_RANK
get_attribute_bonus_rank
attributeIndex: see SET_ATTRIBUTE_BASE_RANK
get_max_attribute_rank
attributeIndex: see SET_ATTRIBUTE_BASE_RANK
set_attribute_bonus_rank
attributeIndex: see SET_ATTRIBUTE_BASE_RANK
get_default_attribute_rank
attributeIndex: see SET_ATTRIBUTE_BASE_RANK
get_default_max_attribute_rank
attributeIndex: see SET_ATTRIBUTE_BASE_RANK
add_attribute_points
attributeIndex: see SET_ATTRIBUTE_BASE_RANK
set_attribute_points
attributeIndex: see SET_ATTRIBUTE_BASE_RANK
get_attribute_points
attributeIndex: see SET_ATTRIBUTE_BASE_RANK
get_max_attribute_points
attributeIndex: see SET_ATTRIBUTE_BASE_RANK
_set_attribute_core_value
coreIndex: enum eAttributeCore { ATTRIBUTE_CORE_HEALTH, ATTRIBUTE_CORE_STAMINA, ATTRIBUTE_CORE_DEADEYE };
_get_attribute_core_value
Gets the ped's core value on a scale of 0 to 100. coreIndex: see _SET_ATTRIBUTE_CORE_VALUE
get_default_attribute_points_needed_for_rank
attributeIndex: see SET_ATTRIBUTE_BASE_RANK
enable_attribute_overpower
attributeIndex: see SET_ATTRIBUTE_BASE_RANK
Old name: _SET_ATTRIBUTE_OVERPOWER_VALUE
_enable_attribute_core_overpower
coreIndex: see _SET_ATTRIBUTE_CORE_VALUE
Previously incorrectly named ENABLE_ATTRIBUTE_OVERPOWER
disable_attribute_overpower
attributeIndex: see SET_ATTRIBUTE_BASE_RANK
_is_attribute_overpowered
attributeIndex: see SET_ATTRIBUTE_BASE_RANK
_is_attribute_core_overpowered
_get_attribute_overpower_seconds_left
_get_attribute_core_overpower_seconds_left
_start_item_preview
Params: p1 is related to satchel_category
stop_item_preview
_set_status_effect_core_icon
Displays status effects on core icons (includes warnings).
enum eUiRpgStatusEffect { STATUS_NONE, STATUS_COLD, STATUS_HOT, STATUS_OVERFED, STATUS_DIRTY, STATUS_SNAKE_VENOM, STATUS_ARROW_WOUNDED, STATUS_ARROW_DRAINED, STATUS_ARROW_DISORIENTED, STATUS_ARROW_TRACKED, STATUS_ARROW_CONFUSION, STATUS_UNDERWEIGHT, STATUS_OVERWEIGHT, STATUS_SICK_1, STATUS_SICK_2, STATUS_PREDATOR_INVULNERABLE };
_set_status_effect_periodic_icon
Starts core periodic icon. statusEffectType: see 0xA4D3A1C008F250DF
_stop_status_effect_periodic_icon
Stops periodic icon. statusEffectType: see 0xA4D3A1C008F250DF