Difference between revisions of "Disable techs"

From Unofficial QEdit Wiki Guide
Jump to: navigation, search
 
Line 12: Line 12:
 
  <span style='font-size:12px;font-family:courier'>
 
  <span style='font-size:12px;font-family:courier'>
 
  <span style='color:blue'>100:    </span><span style='color:green'>get_slotnumber </span>R250 <span style='color:orange'>//Gets the players slot number and stores it in register 250.</span>
 
  <span style='color:blue'>100:    </span><span style='color:green'>get_slotnumber </span>R250 <span style='color:orange'>//Gets the players slot number and stores it in register 250.</span>
  <span style='color:blue'>        disable_techs </span>R250 <span style='color:orange'>//Makes the player who encounters this op code unable to use any of their techniques.</span>
+
  <span style='color:blue'>        disable_techs </span>R250 <span style='color:orange'>//Makes the player(s) who encounters this op code unable to use any of their techniques.</span>
 +
<span style='color:green'>        ret </span>
 +
<span style='color:blue'>101:    </span><span style='color:blue'>enable_techs </span>R250 <span style='color:orange'>//Restores the use of techniques to the player(s) who encounters this op code.</span>
 
  <span style='color:green'>        ret </span>
 
  <span style='color:green'>        ret </span>
 
  </span>
 
  </span>
  
 
==Also see==
 
==Also see==
[[get_slotnumber]], [[ret]]
+
[[get_slotnumber]], [[disable_techs]], [[ret]]
 +
 
 +
[[enable_techs]]

Revision as of 16:04, 23 May 2013

Syntax

Syntax: disable_techs register

  • register = Reserved register 250 player slot number.

Use

Used to disable all techniques when encountered.

Note: Techniques will stay disabled until enable_techs is encountered.

Example


100:     get_slotnumber R250 //Gets the players slot number and stores it in register 250.
         disable_techs R250 //Makes the player(s) 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(s) who encounters this op code.
         ret 

Also see

get_slotnumber, disable_techs, ret

enable_techs