Barebones function 21

From Unofficial QEdit Wiki Guide
Revision as of 00:09, 17 March 2013 by Japanaman2 (Talk | contribs)

Jump to: navigation, search

Barebones function 21

Function 21: 21:

  • Function 21

Use

Ending console for count down timer.

Function 21 goes on your ending forest console when using the count down timer.

How the function appears in the script


21:      sync  //waits 1 frame.
         jmpi_= R21, 00000001, 1 //If Register 21 equals 1 jump to function 1.
         leti R20, 00000001 //Makes register 20 equal 1.
         sync_register R22, 00000001 //Makes register 22 equal 1 for all players.
         jmpi_= R20, 00000001, 24 //If Register 20 equals 1 jump to function 24.

Also see

sync, jmpi_=, leti, sync_register,

Barebones function 1, Barebones function 24