Difference between revisions of "P return guild"

From Unofficial QEdit Wiki Guide
Jump to: navigation, search
 
(Use)
 
(3 intermediate revisions by one other user not shown)
Line 5: Line 5:
  
 
==Use==
 
==Use==
Used to return players to the guild counter. Usually used if a quest is failed.
+
Used to return players to the guild counter. Usually used if a quest is failed. This OP Code restores an Android player's traps to their max capacity.
  
 
==Example==
 
==Example==
 
  <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'>window_msg </span>Mission: FAILED  
+
  <span style='color:blue'>100:    </span><span style='color:green'>window_msg </span>'Mission: FAILED'
  <span style='color:green'>        sync_register R255, 00000001 </span><span style='color:orange'>//Set reserved register for quest failed to true for all players</span>
+
<span style='color:green'>        winend </span>
 +
  <span style='color:green'>        sync_register</span> R255, 00000001 <span style='color:orange'>//Set reserved register for quest failed to true for all players</span>
 
  <span style='color:green'>        p_return_guild </span><span style='color:orange'>//Return players to guild counter</span>
 
  <span style='color:green'>        p_return_guild </span><span style='color:orange'>//Return players to guild counter</span>
 
  <span style='color:green'>        ret </span>
 
  <span style='color:green'>        ret </span>
Line 16: Line 17:
  
 
==Also see==
 
==Also see==
List of OP Codes used in example.
+
[[window_msg]], [[winend]], [[sync_register]], [[ret]]

Latest revision as of 22:31, 14 November 2021

Syntax

Syntax: p_return_guild

  • None

Use

Used to return players to the guild counter. Usually used if a quest is failed. This OP Code restores an Android player's traps to their max capacity.

Example


100:     window_msg 'Mission: FAILED'
         winend 
         sync_register R255, 00000001 //Set reserved register for quest failed to true for all players
         p_return_guild //Return players to guild counter
         ret 

Also see

window_msg, winend, sync_register, ret