Battle variables teller AI script
#2
This can be useful. So if we take as an example var 035 that would equal 3 (bit 0 and bit 1 set) the output would be:

Code:
"VAR 035 (23)"
"Bit value... 1 (set)"
"Bit value... 1 (set)"
"Bit value... 0 (clear)"
"Bit value... 0 (clear)"
"Bit value... 0 (clear)"
"Bit value... 0 (clear)"
"Bit value... 0 (clear)"
"Bit value... 0 (clear)"

You could have used the 16 bit message possibilities, it would make things clearer, but it could take quote text that the person use for his own custom ones...

"Bit 0 value... 0 (clear)"
"Bit 0 value... 1 (set)"
"Bit 1 value... 0 (clear)"
"Bit 1 value... 1 (set)"
etc...

Also, this:

"VAR 035 (23)"

should be:

"VAR 035 (23h)" or "VAR 035 (0x23)"
Reply


Messages In This Thread
Battle variables teller AI script - by Tenkarider - 12-15-2015, 07:28 PM
RE: Battle variables teller AI script - by madsiur - 12-15-2015, 08:41 PM

Forum Jump:


Users browsing this thread: 2 Guest(s)