Difference between revisions of "Talk:If"

Jump to navigation Jump to search
719 bytes added ,  17:09, 26 May 2008
imported>DragoonWraith
(→‎Is this an error?: ok, cool - so what do you want to do? Go ahead and do it.)
imported>DragoonWraith
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 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)
: 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)
::In Oblivion modding we often refer to any kind of silent failure as a "Gotcha" - you get absolutely no indication of what's wrong, it just doesn't work. You don't know if its your code or just some stupid error like this. It's very frustrating, so having a list of these kinds of things is important.
::There are a number of these... we have a list somewhere. I need to find that so we can make it more noticeable.
::[[User:DragoonWraith|<span style="font-family: Oblivion, Daedric Runes; size=2;">D</span>ragoon <span style="font-family: Oblivion, Daedric Runes; size=2;">W</span>raith]] [[User_talk:DragoonWraith|<span style="font-family: Oblivion, Daedric Runes; size=2;">TALK</span>]] 18:09, 26 May 2008 (EDT)


----
----

Navigation menu