CCS plugin in AGS v2.71 (SOLVED)

Started by mport2004, Thu 11/01/2007 03:52:22

Previous topic - Next topic

mport2004

The character control system won't work for me, it says something about can't convert string.

strazer

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)

Code: ags

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


to

Code: ags

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


You can also try my CharacterControl script module.

mport2004

#2
thanks for the help ill use your mod

Edit:
It worked  :D

strazer

Glad to hear it. Let me know how it goes.

SMF spam blocked by CleanTalk