Why do you have the ; in front of main? -----Original Message----- From: gamers-boun...@audyssey.org [mailto:gamers-boun...@audyssey.org] On Behalf Of dark Sent: Wednesday, March 24, 2010 6:12 PM To: Gamers@audyssey.org Subject: [Audyssey] Script error irritation
Hi. Well I've started on writing a script from scratch rather than using the examples. I thought the first step in creating a symple turn based combat game was getting the game to display the characters' hp, ---- but it's not working for some reason and I'm not exactly certain why. Here's the code: int hp = 100 ; string my_health = "hello, my hp is currently" ; ;void main ( ) { alert "window", my_health + hp); } --- Gamers mailing list __ Gamers@audyssey.org If you want to leave the list, send E-mail to gamers-unsubscr...@audyssey.org. You can make changes or update your subscription via the web, at http://audyssey.org/mailman/listinfo/gamers_audyssey.org. All messages are archived and can be searched and read at http://www.mail-archive.com/gam...@audyssey.org. If you have any questions or concerns regarding the management of the list, please send E-mail to gamers-ow...@audyssey.org. --- Gamers mailing list __ Gamers@audyssey.org If you want to leave the list, send E-mail to gamers-unsubscr...@audyssey.org. You can make changes or update your subscription via the web, at http://audyssey.org/mailman/listinfo/gamers_audyssey.org. All messages are archived and can be searched and read at http://www.mail-archive.com/gam...@audyssey.org. If you have any questions or concerns regarding the management of the list, please send E-mail to gamers-ow...@audyssey.org.