Back with another question...
I'm wondering how to execute a different dialog the second time around, I thought that using a variable would be the best idea, so I have
"
9 function hGuard_Talk()
10 if (myCounter1 == 0)
11 {
12 dGuard.Start();
13 }
14 if (myCounter1 >= 1)
15 {
16 dGuardc.Start();
"
When i try to run the game, it tells me
Failed to save room room18.crm; details below
room18.asc(9): Error (line 9): Expected '{'
If i put brackets on line 9 it says "Unexpected "{""
if I put the "if (mycounter1 == 0) in brackets, it says that mycounter1 is an undefined symbol
EDIT: Never Mind, resolved that problem, by doing
"function hGuard_Talk()
{if (myCounter1 == 0)
dGuard.Start();
if (myCounter1 >= 1)
dGuardc.Start();
}"
I'm wondering how to execute a different dialog the second time around, I thought that using a variable would be the best idea, so I have
"
9 function hGuard_Talk()
10 if (myCounter1 == 0)
11 {
12 dGuard.Start();
13 }
14 if (myCounter1 >= 1)
15 {
16 dGuardc.Start();
"
When i try to run the game, it tells me
Failed to save room room18.crm; details below
room18.asc(9): Error (line 9): Expected '{'
If i put brackets on line 9 it says "Unexpected "{""
if I put the "if (mycounter1 == 0) in brackets, it says that mycounter1 is an undefined symbol
EDIT: Never Mind, resolved that problem, by doing
"function hGuard_Talk()
{if (myCounter1 == 0)
dGuard.Start();
if (myCounter1 >= 1)
dGuardc.Start();
}"