Users browsing this thread: 1 Guest(s)
Battle variables teller AI script
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:
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)"
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)"
« Next Oldest | Next Newest »
|
||||
Users browsing this thread: 1 Guest(s)