Get num kills

From Unofficial QEdit Wiki Guide
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