Difference between revisions of "Enable techs"

From Unofficial QEdit Wiki Guide
Jump to: navigation, search
 
 
(2 intermediate revisions by the same user not shown)
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: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(s) 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>
 
  </span>
 
  </span>
  
 
==Also see==
 
==Also see==
[[get_slotnumber]], [[disable_techs]], [[ret]]
+
[[get_slotnumber]], [[disable_techs]], [[ret]],
 +
 
 +
[[enable_techs]]

Latest revision as of 16:04, 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(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