[Audyssey] Script error irritation

2010-03-24 Thread dark
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

Re: [Audyssey] Script error irritation

2010-03-24 Thread Reinhard Stebner
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 start

Re: [Audyssey] Script error irritation

2010-03-24 Thread dark
al Message - From: "Reinhard Stebner" To: "'Gamers Discussion list'" Sent: Wednesday, March 24, 2010 10:22 PM Subject: Re: [Audyssey] Script error irritation Why do you have the ; in front of main? -Original Message- From: gamers-boun...@audyssey.org

Re: [Audyssey] Script error irritation

2010-03-24 Thread Philip Bennefall
e - From: "dark" To: Sent: Wednesday, March 24, 2010 11:12 PM 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 w

Re: [Audyssey] Script error irritation

2010-03-24 Thread dark
Thanks philip. Hmmm, i thought I'd already included that parenthesis, obviously not. Beware the Grue! Dark. - Original Message - From: "Philip Bennefall" To: "Gamers Discussion list" Sent: Thursday, March 25, 2010 12:23 AM Subject: Re: [Audyssey] Scri

Re: [Audyssey] Script error irritation

2010-03-24 Thread Jacob Kruger
t: Re: [Audyssey] Script error irritation Thanks philip. Hmmm, i thought I'd already included that parenthesis, obviously not. Beware the Grue! Dark. - Original Message - From: "Philip Bennefall" To: "Gamers Discussion list" Sent: Thursday, March 25, 2010 1

Re: [Audyssey] Script error irritation

2010-03-25 Thread Thomas Ward
Hi Dark, One thing that stands out right away is you have a space between the end of your statements and the semi-colon. You should never put a space before the semi-colon. To declare a variable you should write it like this. int hp = 100; Other than that nothing else stands out like a sore thumb.

Re: [Audyssey] Script error irritation

2010-03-25 Thread Thomas Ward
Hi, Oops! Shame on me. I missed that myself. Must be too early in the morning. Where's my coffee? Grr. On 3/24/10, Philip Bennefall wrote: > Hi Dark, > > You simply missed to put a left parenthesis in the alert function call. Your > code should be: > > int hp = 100 ; > string my_health = "hel

Re: [Audyssey] Script error irritation

2010-03-25 Thread dark
ge. I'm trying to get it to count hp down from 100 to 0 at a rate of ten a turn displaying ten message boxes then a death message and exit, but even though I appear to have followed all the rules I stil get a bunch of errors. - Original Message - From: "Thomas Ward" To:

Re: [Audyssey] Script error irritation

2010-03-25 Thread Thomas Ward
Hi Dark, Unfortunately, I've got to go soon so I don't have much time to go over this with you in detail right now, but I did see some syntactical errors in your code.For example, you consistantly used a semi-colon after your If and Else statements. That's not legal code. Here is an example of wha

Re: [Audyssey] Script error irritation

2010-03-25 Thread dark
From: "Thomas Ward" To: "Gamers Discussion list" Sent: Thursday, March 25, 2010 10:52 AM Subject: Re: [Audyssey] Script error irritation Hi Dark, Unfortunately, I've got to go soon so I don't have much time to go over this with you in detail right now, but