b3ta.com board
You are not logged in. Login or Signup
Home » Messageboard » XXX » Message 2134410 (Thread)

# if (x==1)
that's the point with your script

but if you want x to have 0 or 1 as a value, just write it like that :

x = Math.random(2);
if (x == 0) {
gotoandplay(85);
else {
gotoandplay(40);
}
(, Sun 12 Oct 2003, 11:59, archived)
# Okey dokes
thanks all, I shall try the == thingy now.

Much appreciated.
(, Sun 12 Oct 2003, 12:02, archived)