Adventure Game Studio

AGS Support => Advanced Technical Forum => Topic started by: PsychicHeart on Tue 12/07/2005 05:55:25

Title: "macro 'CHARID' already defined." (SOLVED)
Post by: PsychicHeart on Tue 12/07/2005 05:55:25
when i try to test my game it says the following error message:

"There was an error compiling your script. The problem was:
In: 'Internal Character defines'
Error: (Line 1): macro 'CHARID' already defined."

How can i fix this?
Title: Re: Error Message
Post by: Gilbert on Tue 12/07/2005 06:07:09
Did you use a variable or whatever that's called CHARID in your script?
Title: Re: Error Message
Post by: PsychicHeart on Tue 12/07/2005 06:12:33
the script name of my character is CHARID if that would affect it.
Title: Re: Error Message
Post by: Gilbert on Tue 12/07/2005 06:46:54
Since that's a reserved name, you can't use that as your character's script name.
Title: Re: Error Message
Post by: PsychicHeart on Tue 12/07/2005 07:03:13
ah. problem solved.