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 = "hello, my hp is currently" ;
;void main ( )
{
alert("window", my_health + hp);
}
Kind regards,
Philip Bennefall
----- Original Message -----
From: "dark" <[email protected]>
To: <[email protected]>
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 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 __ [email protected]
If you want to leave the list, send E-mail to
[email protected].
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/[email protected].
If you have any questions or concerns regarding the management of the
list,
please send E-mail to [email protected].
---
Gamers mailing list __ [email protected]
If you want to leave the list, send E-mail to [email protected].
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/[email protected].
If you have any questions or concerns regarding the management of the list,
please send E-mail to [email protected].