OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Captain Crunch on 16 Apr 2003, 18:20:56

Title: AHH!! Comon! Come and help the ol'Captain!!
Post by: Captain Crunch on 16 Apr 2003, 18:20:56
Maybe I should instead describe here what my problem is. OK: I'm making car bombs of different types in one testing mission. I have got so far eight different bombs;

1: Bomb against armored vehicles, blows when specified unit gets in.
2: Bomb against armored vehicles, blows when specified unit drives over certain speed.
3: Bomb against armored vehicles, blows when any unit gets in.
4: Bomb against armored vehicles, blows when any unit drives over certain speed.

5: Bomb against vehicles, blows when specified unit gets in.
6: Bomb against vehicles, blows when specified unit drives over certain speed.
7: Bomb against vehicles, blows when any unit gets in.
8: Bomb against vehicles, blows when any unit drives over certain speed.

Now, individually, they all work fine. But when they're all together, number 3 won't work!
If I remove the script call from the Init field of number 7, then number 3 will work!!!

BTW, in the Init field of #3 is writen;   [this] Exec "ArmoredVehicleBomb03.sqs"
AND, in the Init field of #7 is writen;   [this] Exec "VehicleBomb03.sqs"

Could the mistake be in the Init field of those two or can a mission hold no more than seven *.sqs files or what?!?!?

I still left an attachment of all the *sqs files and ofcourse the mission file on this note if you wanna download it to check yourself. ------BTW, do I have to stay online for you to be able to download this attachment or is it saved on the OFPEC site??? Please, I beg you not to laugh of my retardness when it comes to technologie(what would be for me a toaster or a sewing machine or even internet) :-[ Haha!!! When I play OFP I throw my binoculars at the enemy!!!!

I appreciate a lot, thanx very much in advance!!!

     J
Title: Re:AHH!! Comon! Come and help the ol'Captain!!
Post by: Knut Erik on 17 Apr 2003, 11:41:37
Remove the addons you used. ;)
Title: Re:AHH!! Comon! Come and help the ol'Captain!!
Post by: macguba on 17 Apr 2003, 12:40:32
I'm not enough of a scripter to help directly, but I can tell you that a mission folder can cope with a lot more than seven .sqs files.     Attachments are saved on the OFPEC server, you don't have to be online.