This site works best with JavaScript enabled. Please enable JavaScript to get the best experience from this site.
How do you check if an integer is odd?
@DarkFireDragoon: Go
bump
if( i % 2 != 0 ) { hey now, odd }
Read: Modulo in GUI
use modulo 2
i added an exaple map with 2 numbers
General - If (Conditions) then do (Actions) else do (Actions) If (integer mod 2) != 0
Then x Else y
edit: too slow ~
How do you check if an integer is odd?
@DarkFireDragoon: Go
bump
if( i % 2 != 0 ) { hey now, odd }
Read: Modulo in GUI
use modulo 2
i added an exaple map with 2 numbers
General - If (Conditions) then do (Actions) else do (Actions)
If
(integer mod 2) != 0
Then
x
Else
y
edit: too slow ~