Author Topic: Script error on Dual Towers - "Incorrect number of parameters"  (Read 311 times)

Offline SchindlerLift2844

  • Contributor Level I
  • *
  • Posts: 152
  • Credit to Lester Controls for the profile picture.
    • View Profile
Script error on Dual Towers - "Incorrect number of parameters"
« on: February 11, 2020, 08:59:07 am »
For some reason, on my end, when I try to load the Dual Towers building file, the simulator console dumps out this script error message:

Filename: dualtowers.bld
Context: Floor range 7 to 15
Iteration Number: 7
Line Text: AddWall Left, LowerLevelWalls, 0.33, (150 - 21.83 - 0.33) * 1, (150 - 15.5 - 0.33) * 1, (150 - 21.83 - 0.33) * 1, (150 + 15.5 + 0.33) * 1, 15, 15,

It looks like some parameters have been cut off, which would explain it, but when I go into the building file, the commands seem to be complete. This building worked perfectly before I decided to update a few textures. The building stopped working when I changed a few textures, so I changed them back. It gave me a script error before this one, which I was able to patch. Then the console decided to confront me with this error, which I am unable to patch. Could someone give me a hand with this? Sincerely, -SL2844

Share on Facebook Share on Twitter


Offline QuarioQuario54321

  • Contributor Level I
  • *
  • Posts: 152
  • Location: Michigan, United States
    • View Profile
Is this the one from G1DP?

Offline Skyscraper Simulator Showcase

  • Administrator
  • Contributor Level I
  • *****
  • Posts: 248
    • View Profile
Whenever you get an error stating that there is an incorrect number of parameters, put a "#" in front of that line if you do not know how to fix it otherwise.

Offline SchindlerLift2844

  • Contributor Level I
  • *
  • Posts: 152
  • Credit to Lester Controls for the profile picture.
    • View Profile
Whenever you get an error stating that there is an incorrect number of parameters, put a "#" in front of that line if you do not know how to fix it otherwise.

Thanks! I'll try that now.