Difference between revisions of "Talk:If"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>MaXiMiUS
(clicked the wrong button for sig >_>)
imported>JOG
m
Line 9: Line 9:
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)
--[[User:MaXiMiUS|MaXiMiUS]] 21:42, 9 April 2006 (EDT)
--[[User:JOG|JOG]] 15:21, 14 April 2006 (EDT)Doesn't help as far as I've tested it.

Revision as of 14:21, 14 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)


--JOG 15:21, 14 April 2006 (EDT)Doesn't help as far as I've tested it.