bomber.scr
Posted: Tue Jan 20, 2009 2:46 pm
I'm trying to make a map where there are more then 1 air strike, so
I've made 6 different path for a plane that drops bombs, now I have to
specify when they have to work, and of course one per time.
So I think the best way is to make them run one after the other and devided by random time..
the problem is that I dunno how to run make the game undersand what path it has to run, I will try this one but I'm sure it wont work, it sounds too easy:
---this idea is taken from the bomber.scr last informative section---
another problem is that the plane path have to run just one bomb path, and that mean that plane path and bomb path have to be linked together exemple: planepath1 with bombpath1; planepath2 with bombpath2; ecc!
however if someone have a good idea, advices are welcome!
sorry for the bad english! lol
I've made 6 different path for a plane that drops bombs, now I have to
specify when they have to work, and of course one per time.
So I think the best way is to make them run one after the other and devided by random time..
the problem is that I dunno how to run make the game undersand what path it has to run, I will try this one but I'm sure it wont work, it sounds too easy:
---this idea is taken from the bomber.scr last informative section---
Code: Select all
while (1) {
wait randomint(300)
thread global/bomber.scr::bomb 1
wait randomint(300)
thread global/bomber.scr::bomb 2
wait randomint(300)
thread global/bomber.scr::bomb 3
wait randomint(300)
thread global/bomber.scr::bomb 4
wait randomint(300)
thread global/bomber.scr::bomb 5
wait randomint(300)
thread global/bomber.scr::bomb 6
wait randomint(300)
}however if someone have a good idea, advices are welcome!
sorry for the bad english! lol