Difference between revisions of "Set floor handler"

From Unofficial QEdit Wiki Guide
Jump to: navigation, search
(No difference)

Revision as of 00:13, 16 February 2013

Syntax

Syntax: set_floor_handler xxxxxxxx, Function

  • xxxxxxxx (DWORD) = Hex value of the floor.
  • Function = Function to call.

Use

Used to call a Function as soon as the players enters a floor.

Example


0:     set_episode 00000000 //Episode set to 1.
       set_floor_handler 00000001, 1 //Calls Function 1 when the player enters forest 1.
       ret 
1:     ret 

Also see

ret