Ba set trap
From Unofficial QEdit Wiki Guide
Contents
Syntax
Syntax: ba_set_trap R1, R2
- xxxxxxxx (DWORD) = Hex value to be used to determine how many traps the players have
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