Difference between revisions of "Enable techs"

From Unofficial QEdit Wiki Guide
Jump to: navigation, search
 
Line 14: Line 14:
 
  <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 who encounters this op code unable to use any of their techniques.</span>
 
  <span style='color:green'>        ret </span>
 
  <span style='color:green'>        ret </span>
<span style='font-size:12px;font-family:courier'>
 
 
  <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 who encounters this op code.</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 who encounters this op code.</span>
 
  <span style='color:green'>        ret </span>
 
  <span style='color:green'>        ret </span>

Revision as of 16:03, 23 May 2013

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 

Also see

get_slotnumber, disable_techs, ret