1 Return is worth many hours.
witch wyzwurd
05 Sept 2006, 22:27I was coding a part of my game and got stuck when I tested it. It was a very easy code, like: If player has "object" than print... and turn flag on. I had the object, but the game wouldn't print... I scanned my code and scanned my code and scanned my........ you get the picture.
The problem: if got <object> then {msg <words...>
flag on <flag>
}
The solution: if got <object> then {
msg <words...>
flag on <flag>
}
See the difference? I browsed through the ASL Guide under "Braces" and found a section that didn't mention this very small, but important rule.
-Witch
The problem: if got <object> then {msg <words...>
flag on <flag>
}
The solution: if got <object> then {
msg <words...>
flag on <flag>
}
See the difference? I browsed through the ASL Guide under "Braces" and found a section that didn't mention this very small, but important rule.
-Witch