Difference between revisions of "Enable techs"
From Unofficial QEdit Wiki Guide
Japanaman2 (Talk | contribs) |
(No difference)
|
Revision as of 16:02, 23 May 2013
Contents
Syntax
Syntax: enable_techs register
- register = Reserved register 250 player slot number.
Use
Used to re-enable all techniques when encountered.
Note: To turn off the techniques use disable_techs.
Example
100: get_slotnumber R250 //Gets the players slot number and stores it in register 250.
disable_techs R250 //Makes the player who encounters this op code unable to use any of their techniques.
ret
101: enable_techs R250 //Restores the use of techniques to the player who encounters this op code.
ret