Gset

From Unofficial QEdit Wiki Guide
Jump to: navigation, search

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