Author Topic: Error: Argument count is illegal  (Read 1736 times)

0 Members and 1 Guest are viewing this topic.

Offline SF-Junky

  • 29
  • Bread can mold, what can you do?
Error: Argument count is illegal
All the missions of my new campaign worked fine until I put them together in the campaign file. No I always get this, when I start a mission:

Quote
Error: Argument count is illegal.

In sexpression: ( cond )
(Error appears to be: cond)
File: MissionParse.cpp
Line: 5836


Call stack:
------------------------------------------------------------------
------------------------------------------------------------------

In an older (very old) threat I read something about sexp limits. Could that be a problem? But Derelict surely uses more sexps than my new camp. I'm using "fred2_open_3_6_10-20071028T.exe" and "fs2_open_3_6_10-20071028T.exe".

 

Offline FUBAR-BDHR

  • Self-Propelled Trouble Magnet
  • 212
  • Master Drunk
    • 165th Beer Drinking Hell Raisers
Re: Error: Argument count is illegal
Do they work by themselves if your remove the .fc2 file?
No-one ever listens to Zathras. Quite mad, they say. It is good that Zathras does not mind. He's even grown to like it. Oh yes. -Zathras

  

Offline SF-Junky

  • 29
  • Bread can mold, what can you do?
Re: Error: Argument count is illegal
yes.

 

Offline karajorma

  • King Louie - Jungle VIP
  • Administrator
  • 214
    • Karajorma's Freespace FAQ
Re: Error: Argument count is illegal
Can you post the campaign file then? Or PM a link to me.
Karajorma's Freespace FAQ. It's almost like asking me yourself.

[ Diaspora ] - [ Seeds Of Rebellion ] - [ Mind Games ]

 

Offline karajorma

  • King Louie - Jungle VIP
  • Administrator
  • 214
    • Karajorma's Freespace FAQ
Re: Error: Argument count is illegal
The final mission appears to be marked as a mission loop. The result is you have this

+Formula: (Cond
)

At the end of the file. There are no conditions there as you can see. Either simply remove those lines or turn it off from the Campaign editor.
Karajorma's Freespace FAQ. It's almost like asking me yourself.

[ Diaspora ] - [ Seeds Of Rebellion ] - [ Mind Games ]

 

Offline SF-Junky

  • 29
  • Bread can mold, what can you do?
Re: Error: Argument count is illegal
Ah, now it works. Many thanks. :)