Adventure Game Studio

AGS Support => Advanced Technical Forum => Topic started by: mport2004 on Thu 11/01/2007 03:52:22

Title: CCS plugin in AGS v2.71 (SOLVED)
Post by: mport2004 on Thu 11/01/2007 03:52:22
The character control system won't work for me, it says something about can't convert string.
Title: Re: ccs in 27.1
Post by: strazer on Thu 11/01/2007 17:21:34
You mean "Type Mismatch: Cannot convert 'const string' to 'string'"?

The problem is, the plugin hasn't been updated in a while and has problems with recent versions of AGS. You can try working around the error message by converting all function calls from (for example)


  ccCreateCommand("MOVE:190,100;");


to


  string tempvar;
  StrCopy(tempvar, "MOVE:190,100;");
  ccCreateCommand(tempvar);


You can also try my CharacterControl script module (http://www.adventuregamestudio.co.uk/yabb/index.php?topic=28821).
Title: Re: ccs in 27.1
Post by: mport2004 on Thu 11/01/2007 22:56:14
thanks for the help ill use your mod

Edit:
It worked  :D
Title: Re: ccs in 27.1
Post by: strazer on Fri 12/01/2007 12:01:22
Glad to hear it. Let me know how it goes.