Get difflvl2

From Unofficial QEdit Wiki Guide
Jump to: navigation, search

Syntax

Syntax: get_difflvl2 register

  • register = Reserved register 251 stores difficulty level.

Values of the register used.

00000000 = Normal mode difficulty level.

00000001 = Hard mode difficulty level.

00000002 = Very hard mode difficulty level.

00000003 = Ultimate mode difficulty level.

Use

Used to store the value of the rooms difficulty level in a register.

Example


0:       set_episode 00000000 //Tells the quest that it is an episode 1 quest.
         get_difflvl2 R251 //Gets the difficulty level of the room and stores it in register 251.
         ret 

Also see

set_episode, ret, Functions