Home   Help Search Login Register  

Author Topic: looping a script  (Read 1510 times)

0 Members and 1 Guest are viewing this topic.

Offline Trash Can Man

  • Members
  • *
  • We are no longer the knights who say "Ni!"
looping a script
« on: 12 Jul 2007, 01:46:58 »
How do I get a specific vehicle (a scud launcher) to rearm after the this missile is gone. Here's what I have so far:


_scud = _this select 0

[_scud] exec "GIG_Scud\reammo.sqs"



I want this to repeat.

TCM

Offline Mandoble

  • Former Staff
  • ****
    • Grunt ONE and MandoMissile suite
Re: looping a script
« Reply #1 on: 12 Jul 2007, 13:56:54 »
So is that vehicle rearming correctly or not? If not, it seems a problem related to a particular addon. Other than that, I cannot understand the question/problem.

Offline Planck

  • Honoured
  • Former Staff
  • ****
  • I'm never wrong ....I'm just not always right !
Re: looping a script
« Reply #2 on: 12 Jul 2007, 14:02:21 »
Well it can't be the BI default scud model as it does not have any weapons and ammo, it is just eye candy.


Planck
I know a little about a lot, and a lot about a little.

Offline Trash Can Man

  • Members
  • *
  • We are no longer the knights who say "Ni!"
Re: looping a script
« Reply #3 on: 12 Jul 2007, 18:43:48 »
The above script loads the vehicle after the initial missile is fired. But, that's all it does. What I want it (the script) to do is re-arm after it's fired. No matter if it;s the first round or the 10th.


TCM

Offline Mr.Peanut

  • Former Staff
  • ****
  • urp!
Re: looping a script
« Reply #4 on: 12 Jul 2007, 18:59:45 »
I guess you had better post that script. We are not a psychic hotline!  :shhh:
urp!

Offline Trash Can Man

  • Members
  • *
  • We are no longer the knights who say "Ni!"
Re: looping a script
« Reply #5 on: 12 Jul 2007, 19:22:43 »
Solved


TCM