Npc param V3

From Unofficial QEdit Wiki Guide
Jump to: navigation, search

Syntax

Syntax: npc_param_v3 Register1, NPC Table Value

  • Register1 = Start of continuous 14 Registers

1st register = NPC ID (Unused)

2nd register = NPC Base Level

3rd register = Tech Set

4th register = Monster Aggro Range

5th register = ???

6th register = Distance from Player the NPC will Run (default 0000000E)

7th register = Monster De-aggro Range, to re-follow player

8th register = block range

9th register = Attack Range (Maxes at Monster Aggro Range, does not match weapon's range)

10th register = Attack Technique Level (max 0000000F)

11th register = Heal/Support Technique Level (max 0000000F)

12th register = Attack Frequency (0 to 64 in Hex)

13th register = Technique as Attack Frequency (0 to 64 in Hex)

14th register = ???

Use

Used to modify specific behaviors on NPCs. The Table value will modify that specific NPC's parameters when it is called through an NPC OpCode.