Get num kills

From Unofficial QEdit Wiki Guide
Revision as of 15:37, 23 October 2020 by Esc (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Syntax

Syntax: get_num_kills register1, register2

  • register1 = Register containing the index of the player
  • register2 = The result will be saved in this register

Use

Returns the number of enemies a player has killed during the quest.

Example


100:     leti R100, 0
         get_num_kills R100, R101 // Gets the number of enemies the player at index 0 has killed and stores the result in R101.
         ret