Difference between revisions of "Talk:If"
Jump to navigation
Jump to search
imported>MaXiMiUS |
imported>MaXiMiUS (clicked the wrong button for sig >_>) |
||
Line 8: | Line 8: | ||
Logically it should interpret it the prior, but with Oblivion, I'm not so sure. | Logically it should interpret it the prior, but with Oblivion, I'm not so sure. | ||
-- | --[[User:MaXiMiUS|MaXiMiUS]] 21:42, 9 April 2006 (EDT) |
Revision as of 20:42, 9 April 2006
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. --MaXiMiUS 21:42, 9 April 2006 (EDT)