Difference between revisions of "Load enemy data"

From Unofficial QEdit Wiki Guide
Jump to: navigation, search
(Created page with "==Syntax== ''Syntax:'' <span style='font-size:12px;font-family:courier'><span style='color:green'>load_enemy_data</span> dword</span> * ''dword'' = The index of the monster i...")
(No difference)

Revision as of 16:56, 25 January 2018

Syntax

Syntax: load_enemy_data dword

  • dword = The index of the monster in the BP file of who's stats to allow editing to.

Use

Sets the flag used by get_physical_data, get_attack_data, get_resist_data, and get_movement_data to specify which monster to modify the behavior of.

Only takes effect for monsters spawned after the opcodes are run.

Cannot be run during function 0.

Codes

Example


100:     load_enemy_data 0000000D //Load Delbiter
get_physical_data 1531 //Give Delbiters the physical stats found at label 1531
get_resist_data 1532 //Give Delbiters the resistance stats found at label 1532
load_enemy_data 00000030 //Load Deldepth
get_physical_data 1541 //Give Deldepths the physical stats found at label 1541
get_resist_data 1542 //Give Deldepths the resistance stats found at label 1542
         ret 

Also see

get_physical_data, get_attack_data, get_resist_data, get_movement_data, ret