Or just select Non Playable from the dropdown.![]()
Or just select Non Playable from the dropdown.![]()
WOW Thank You VERY MUCH! For the name: it doesn't change! This script resolve all my trubles with other scripts!!!Thank You! Thank You! Thank You! Thank You! Thank You! Thank You!
Hello, can anyone help a novice please? I'm trying to combine camo.sqs with this vehicle respawn script. I can reskin an A10 but I need to have it respawn with the same skin.
this exec "camo.sqs";
veh = [this] execVM "vehicle.sqf"
edit-I should learn to read more carefully.
this exec "camo.sqs"; veh = [this, 0, 0, 0, FALSE, FALSE, "this exec ""camo.sqs"""] execVM "vehicle.sqf"
Sorted the above now. Great work TOPHE
2nd edit- Is there a way to combine the above line with this line below?
null = this execVM "ammo.sqf"; veh = [this, 0, 0, 0, FALSE, FALSE, "null = this execVM ""ammo.sqf"""] execVM "vehicle.sqf"
Last edited by interox; Sep 23 2009 at 15:57.
@M3th0s
Thanks man, I'm happy it makes you happy
@interox
I don't have ArmA up now but you could try something like this:
null = this execVM "ammo.sqf"; this exec "camo.sqs"; veh = [this, 0, 0, 0, FALSE, FALSE, "null = this execVM ""ammo.sqf""; this exec ""camo.sqs"""] execVM "vehicle.sqf"
Not sure it will work, but give it a go. Another solution might be to just combine the ammo.sqf and camo.sqs scripts into one, unless that takes too much work (since one is in SQS and one in SQF). That way you will only have to worry about a single script.
Last edited by Tophe; Sep 24 2009 at 08:14.
Östgöta Ops [OOPS]
TA2DST - Tophe's ArmA 2 Dedicated Server Tool || A song for Bohemia
ARMA 2:
Random House Patrol Script v1.1 || Simple Vehicle Respawn Script v1.7 || Simple_Guard_Post_Script_v1.0 || Universal Crate Filler v2.01 || Simple Repair Script v1.1
ARMA 3:
Simple Vehicle Respawn Script v1.8
Thanks for your reply. Ive run into another problem though. Ive added 2 a10's and 4 f16's to domination map. The a10's respawn correctly when destroyed on the airfield insitu however the f16's leave a burning wreck on the airfield when destroyed and then respawn on top of the wreck. Can you help?
Will do. Tyvm for your time.
Did you find a resolution to this problem? I'm having the same issue. Script on the F16 is this:
veh = [this, 15, 1000, 0, TRUE, FALSE, FALSE] execVM "vehicle.sqf";
Thank you.
Hello, I want to put this script in the init of a vehicle I create after the fact. As in, not in the editor. So I made a createvehicle trigger that works. I put the respawn script syntax right there in the same trigger as the createvehicle.
a10 = ["a10", 15, 10, 5, FALSE] execVM "vehicle.sqf"
I defined the vehicles name in the respawn script and the spawn script. The vehicle spawns just fine however once destroyed it does not REspawn. I tried the respawn script on a static (placed in editor) vehicle and it worked fne. Appreciate any help on this
Hi Trophe,
First, I must say, Nice Work.
I know A LOT goes into doing this sort of thing.
Now, my problem...
I am a NoOb, no doubt. I have been a COD, Crysis, Company of Heroes, etc... player for years now, so I am new to anything of this nature.
I recently purchased a dedicated server for my clan in an attempt to give us something new to play. Ofcourse, the vanilla maps that they have there are OK but aren't the bells and whistles that we like.
I've since started looking into making us a map or 2 just for something different and I just can't seem to get the vehicles to respawn. I have read through everything here and followed the instructions to the best of my knowledge but alas, no prize.
I am sure you are busy, but I was wondering if you, or any of you other intelligent creatures could dumb down the step by step instructions to accomplish this please.
I have made the map, put in vehicles, in the init description box I put the veh = [this...etc...].
After making the map and doing all of the necessary things there I go to where the map was created and then I create a description file with ArmA edit to initialize respawn and other variables then save it to that Mission folder. Then I copy and paste your vehicle.sqf file into the Mission folder.
So far in the folder I have...
1)Description.ext
2)Mission.sqm
3)Vehicle.sqf
After seeing that I have these in there I go "back" 1 folder then right click and create PBO so that I can use this as a multi-player mission.
I start the map, everything loads up fine, I run and jump into the chopper I created, lift off, then commence to crashing it to test to see if it respawns.
No dice.
I'm lost and frustrated because I know I'm not seeing the forest for the trees.
Please steer me in the right direction.
Again, I'm a NoOb...be gentle...![]()