Difference between revisions of "Gset"

From Unofficial QEdit Wiki Guide
Jump to: navigation, search
 
(Example)
 
Line 15: Line 15:
 
  <span style='color:green'>        add_msg</span> '<name hero>, please...!<cr>Continue investigating!'
 
  <span style='color:green'>        add_msg</span> '<name hero>, please...!<cr>Continue investigating!'
 
  <span style='color:green'>        mesend</span>  
 
  <span style='color:green'>        mesend</span>  
  <span style='color:green'>        gset</span> 0021 <span style='color:orange'>//Set Caves unlocked flag</span>
+
  <span style='color:green'>        gset</span> 0021 <span style='color:orange'>//Set Mines unlocked flag</span>
 
  <span style='color:green'>        ret</span>
 
  <span style='color:green'>        ret</span>
  
 
==Also see==
 
==Also see==
 
[[message]], [[add_msg]], [[mesend]], [[ret]]
 
[[message]], [[add_msg]], [[mesend]], [[ret]]

Latest revision as of 21:42, 18 February 2013

Syntax

Syntax: gset [flag]

  • [flag] = Flag from the following list gflags

Use

These flags are used to store the current progress of a character in story mode quests. These generally aren't used with any quest other than the story mode quests.

Example

9:      message 000003E9, 'I heard about the<cr>creatures you've seen<cr>from our Lab scientists.'
        add_msg 'It seems that our initial<cr>perception of Ragol was<cr>wrong.'
        add_msg 'What you've said doesn't<cr>match what Pioneer 1 told<cr>us... A paradise... Ha!'
        add_msg 'And we still don't know<cr>the cause of the<cr>explosion.'
        add_msg 'On top of that, we<cr>haven't heard anything<cr>from Pioneer 1!'
        add_msg '<name hero>, please...!<cr>Continue investigating!'
        mesend 
        gset 0021 //Set Mines unlocked flag
        ret

Also see

message, add_msg, mesend, ret