Author Topic: mine mission problem  (Read 1401 times)

0 Members and 1 Guest are viewing this topic.

Offline origin

  • 27
mine mission problem
I have a mission where you have to fly through about 20 mines.  I used the every_time_argument for the 20 mines.  I used the special explosion to give the mines so umph.  The problem is that when I save the mission and then reload only the first 10 mines have the special explosion data in the table, but the last 10 mines have reerted  back to all zeros.  It is really kinda weird.  All of the mines are in the actual mission but only 1 - 10  blow up when alpha 1 less than 150 m which is what I set them at, but mines 11 - 20 don't do anything.

Any ideas.  Have I bumped up against some limit?

sexp:

every-time-argument
  any-of
       mine 1
       .
       .
       .
       mine 20
   <
     distance
       alpha 1
       <argument>
     150
    self-destruct
    invalidate-argument
      <argument>

thanks

  

Offline FUBAR-BDHR

  • Self-Propelled Trouble Magnet
  • 212
  • Master Drunk
    • 165th Beer Drinking Hell Raisers
First what build are you using?  3.6.10 final?  If not update

There have been problems with special explosions getting messed up.  Open the mission with notepad (or any other text editor) and find the variables section.  You should see some block variable with ship names.  These are what determine the special explosions.  Now there are 2 ways to fix this.  Since you are dealing with 10 ships I wold remove those block variables and while you are in notepad look at each ship.  The ones that have a special explosion reference delete that line.  The other method would be to write down each ship name and variable number then edit then edit the number of the special explosion for each ship to match it's corresponding variable. 

If that is too confusing just send me the mission and I'll get it back to you. 

Also you shouldn't be using everytime for this.  A simple repeating when-argument with a 1 second delay would be just fine.
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 origin

  • 27
Thanks I will look at all of your suggestions.  I still have RC3 so I should get the final.  I can't remember why I went to everytime I was running into some problem though....

Anyway I will look at it again, thanks.