Difference between revisions of "Npc param V3"

From Unofficial QEdit Wiki Guide
Jump to: navigation, search
(Syntax)
(Use)
Line 32: Line 32:
  
 
==Use==
 
==Use==
Used to set specific parameters on NPCs.
+
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.

Revision as of 05:45, 11 January 2024

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 = Aggro Range

5th register = ???

6th register = Distance from Player the NPC will Run

7th register = aggro player range

8th register = block range

9th register = attack 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.