Difference between revisions of "Talk:If"
Jump to navigation
Jump to search
m
→Gotchas
imported>HawkFest m (→Gotchas) |
imported>HawkFest m (→Gotchas) |
||
Line 43: | Line 43: | ||
<pre>if (angleA >= 0 && angleA <= 90) || (angleA >= 180 && < 270)</pre> | <pre>if (angleA >= 0 && angleA <= 90) || (angleA >= 180 && < 270)</pre> | ||
Once my script hit this line, it stopped working completely. No indication that anything was wrong. --[[User:Mrflippy|Mrflippy]] 21:06, 15 April 2006 (EDT) | Once my script hit this line, it stopped working completely. No indication that anything was wrong. --[[User:Mrflippy|Mrflippy]] 21:06, 15 April 2006 (EDT) | ||
: That's | : That's a CS "Gotcha", but a "normal" behaviour in regards to OB's engine: you have 2 operators following each other, "&& <", without their required right or left operands. Although the CS "compiler" itself does not seem to have the required verification functionality in this regard, thus letting you package a mod with a blatant error, it will bug when playing the game. --[[User:HawkFest|HawkFest]] 17:58, 26 May 2008 (EDT) | ||
---- | ---- |