Grev

From Unofficial QEdit Wiki Guide
Jump to: navigation, search

Syntax

Syntax: grev [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. Sets the flag to whatever it wasn't, the equivalent of a logical NOT operation.

Example

9:      message 000003E9, 'You've toggled the switch that lets you go to Mines!'
        mesend 
        grev 0021 //Set Mines unlocked flag
        ret

Also see

message, add_msg, mesend, ret, rev