Add damage to?

From Unofficial QEdit Wiki Guide
Revision as of 22:07, 28 April 2013 by Japanaman2 (Talk | contribs)

Jump to: navigation, search

Syntax

Syntax: add_damage_to? register, xxxxxxxx

  • register = Reserved register 250 player slot number to add damage to.
  • xxxxxxxx = xxxxxxxx amount of damage to add.

Use

Used to reduce the hit points of players.

Example


100:     add_damage_to? R250, 00000064 //Deals 100 hit point damage to the player who encounters this op code in the script.
         ret 

Also see

ret, reservedregisters