|| OF_UNDEFINEDEXPRESSIONS

Forum for plugin, effect and behavior programmers. Please use the Help & Support forum for help using Construct.

Post » Fri Jun 17, 2011 5:47 pm

did || OF_UNDEFINEDEXPRESSIONS
and it's still not allowing random expression names,as in
""whatever" is not an expression in object"
and it won't let me close the expression dialogue
am I missing something somewhere else?
Spriter Dev
B
95
S
21
G
12
Posts: 3,252
Reputation: 16,780

Post » Fri Jun 17, 2011 6:22 pm

Did you use the single-pipe | for bitwise or, or double-pipe || for logical or?

|| only ever returns true or false so if you use it on flags it won't work, you'll just get 1 or 0 back...
Scirra Founder
B
373
S
218
G
84
Posts: 23,446
Reputation: 186,082

Post » Fri Jun 17, 2011 8:15 pm

thank you, that was the problem
Spriter Dev
B
95
S
21
G
12
Posts: 3,252
Reputation: 16,780


Return to Construct engineering

Who is online

Users browsing this forum: No registered users and 0 guests