Warp off

From Unofficial QEdit Wiki Guide
Jump to: navigation, search

Syntax

Syntax: warp_off

  • None

Use

Used to disable warping. Enable using warp_on.

Example


0:       set_episode 00000000
         set_floor_handler 00000000, 100
         set_floor_handler 0000000B, 110
         BB_Map_Designate 00, 0000, 00, 00
         BB_Map_Designate 0B, 000B, 00, 00
         ret 
1:       ret 
100:     switch_jmp R0, 2:101:102
101:     window_msg 'Quest start'
         set R0
         winend 
         go_floor 0000000B //Warp player to floor 11 (dragon by default)
         ret 
102:     warp_on //Upon returning to pioneer enable warps
         ret 
110:     warp_off //In dragon area. Disable warps.
         ret 

Also see

set_episode, set_floor_handler, BB_Map_Designate, switch_jmp, window_msg, set, winend, go_floor, warp_on, ret