Ba set trap
From Unofficial QEdit Wiki Guide
Revision as of 03:42, 19 April 2021 by Pheonixmog (Talk | contribs)
Contents
Syntax
Syntax: ba_set_trap R1, R2
register1 = start of continuous registers.
2 registers.
1st register = Type of Trap
00000000 = Damage Trap
00000001 = Slow Trap
00000002 = Confuse Trap
00000003 = Freeze Trap
2nd register = Starting Number of Trap
Use
Used to set the amount of traps each player has. (You need to use ba_set_trapmenu to allow this opcode to work)
Example
leti R1, 00000000 //Makes register 1 equal 00000000.
leti R2, 00000003 //Makes register 2 equal 00000003.
ba_set_trap R1 //Starts the player with 3 damage traps.
ret