Open GoogleCodeExporter opened 8 years ago
I'm curious why you didn't just use onGearDelete or make the land
indestructible, but if your solution works and you like it I don't have
anything against it, haha. I haven't tested it, but just skimming over the code
it looks like you missed the closing bracket on one of the "You lose" loc()
calls. Please test submitted stuff >_<.
Original comment by RedGrin...@gmail.com
on 28 Jul 2015 at 2:57
I want to keep the option to have destructible land to make things slightly
more interesting.
I fixed the loc() issue. Oops!
Did you mean this?:
AddCaption(loc("You lose!", 0xFFFFFFFF, capgrpGameState))
Haha, the fun thing is, this is not a syntax error. The arguments are obviously
false, but the code still works. Yes, I *have* tested my code before
submitting. The 2nd and 3rd arguments into loc() are probably just discarded
and AddCaption only takes one argument here, which is also valid. The only
thing that's actually different is the caption group, which will be
capgrpMessage instead of capgrpGameState. There is no visible difference in the
actual mission.
Anyways, I have fixed it, because this line is still an obvious bracket
mistake. xD
Original comment by almikes@aol.com
on 29 Jul 2015 at 12:33
Original issue reported on code.google.com by
almikes@aol.com
on 27 Jul 2015 at 3:59