OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting Resources Beta Testing & Submission => Topic started by: GeneralCoder on 06 Aug 2003, 19:17:14
-
Hi you ever wanted to group respawn whit their vehicles and get in? Now is your change to see it happen ;D
Well if no one hasn't made script like this I think you should take a look.
Now obiviously you should play this in the multiplayer mode.
Blow up shometing and the vehicle will respawn and the crew will get back in like they used to be.
There is also an vehicle remover to avoid lag.
How to use?
but this to line to the vehicle you want to respawn note that cobra is the vehicles type
[this,"cobra"] exec "resv.sqs"
Notes:
west tanks will respawn on the marked area and if you want other sides to respawn their tanks you'l have to edit the script (and to set their spawn pos) or if you dont know how I can help.
This script isn't designed for empty vehicles but I gues they work too
So if you find bugs please tell.
-
Found a bug - your script is missing. muhahaha ;D
-
;D
-
:o ;D
There you go!
-
They spawn but I got an error message...
_veh = _type createvehicle _pos |#| :error 0 elements provided, 3 expected
I happened when killed the crew of the AH1
-
They spawn but I got an error message...
_veh = _type createvehicle _pos |#| :error 0 elements provided, 3 expected
I happened when killed the crew of the AH1
Wierd I didn't get any kind of error when I tested that. Did you modify the mission some how?
Or maybe I accidently uploaded an old version so try downloading again?
-
Ok I think I found the bug. It was probably becose all of the AH1 guyes haven't respawned yet when the chopter needed them. Hopefully it works now I haven't got much time to test this right now.
EDIT:
Oh right it was becose pos could't be determinated. Oh well I hope you wont get that error any time soon. ::)
-
Here's a new version of the script wich I have used in one of my multiplayer mission, and it works fine in there... I think :-\ becose I don't have much time to test, and hey thats why im posting here to get you test it! :thumbsup: