Fallout2 Opcode Playground

Opcodes: 8000-801F, 8020-803F, 8040-805F,
8060-807F, 8080-809F, 80A0-80BF, 80C0-80DF,
80E0-80FF, 8100-811F, 8120-813F, 8140-8155
 
List Opcodes:Used in Fallout 2Named
Known to DecompilerDescribed

Descriptions for 80CA

Opcode80CA, GetStat
>> subfunction   GetStat

Author: Wasteland Ghost

07.02.05 15:56:42

Синтаксис оригинального компилятора:
int get_critter_stat(ObjectPtr who, int stat) - вернуть значение характеристики
Аргументы:
who - указатель на криттера
stat - номер характеристики (см. DEFINE.H раздел stats)
Возвращаемое значение:
значение указанной характеристики
Author: legacy information

25.06.02 15:26:34

GetStat(obj,stat) Returns the value of a stat.
  • obj - the person/object to get the stat from.
  • stat - the stat to get the value of. Known numbers are (If/when you get more, please let us know since I haven't gotten around to testing (other) numbers to see what they refer to yet): 0 - Strength 1 - Perception 2 - Endurance 3 - Charisma 4 - Intelligencee 5 - Agility 6 - Luck 34- Gender (0=male, 1=female)

    c Temaperacl, from Duck And Cover forum

    I'm quite sure 35 = Current HP

    c Red, from Duck And Cover forum

  • Author: legacy information

    22.06.02 13:29:01

    Команда 80СА позволяет получать основные характеристики персонажа. Аргументы - ИД персонажа (для игрока можно вызвать командой 80BF, для того, с кем он базарит - 80BC) и номер характеристики: 0 - Strength, 1 - Perception, 2 - Endurance etc.