Talk:If

Revision as of 20:41, 9 April 2006 by imported>MaXiMiUS
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Do brackets help in logical operations?

IE: elseif Random > 75 && ( LilRandom == 4 || LilRandom2 == 4 )

That should be if Random is over 75, and LilRandom or LilRandom2 equals 4, but what I gather is that Oblivion will interpret it as:

if Random is over 75 and LilRandom is equal to 4, OR LilRandom equals 4.

Logically it should interpret it the prior, but with Oblivion, I'm not so sure.


Return to "If" page.