Add damage to?
From Unofficial QEdit Wiki Guide
Revision as of 06:01, 30 April 2013 by Japanaman2 (Talk | contribs)
Contents
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: get_slotnumber R250 //Gets the slot number of the players and stores it in register 250.
add_damage_to? R250, 00000064 //Deals 100 hit point damage to the player who encounters this op code in the script.
ret