PDA

View Full Version : problems changing bustom combat script through cli



xxmatt3232xx
03-30-2009, 01:21 PM
im using daily build 7007.exe and in my basic script i have

set battleAction = custom: default.ccs
to change the custom combat script to default (or whatever ccs i want) after bounty.ash runs (which by default sets the ccs to bounty.ccs)

the problem is that when i do this the ccs is not changed. the gCli says it has, but when i look manually and adventure it is still using bounty.ccs. If i change it by hand it will work, so it isnt a problem with the ccs.

Any ideas? Is it a problem with the build?

jasonharper
03-30-2009, 05:11 PM
battleAction contains exactly the same thing as the Action field in the main mafia window, which would be "custom combat script" when using a CCS (but anything starting with "custom" has the same effect). In no circumstances is it ever used to determine the name of the CCS being used.

You would need to also set customCombatScript to the name of the script, or better yet, use the "ccs" command (example: ccs default) to set both variables at once.

xxmatt3232xx
03-31-2009, 02:50 AM
oh i did not realize that.

i think someone posted on here that set battleAction = custom: __.ccs would set your custom combat script...maybe i misread. i updated my script, see if it works tomorrow, thanks