Jump to content

Sam87Gamer

Member
  • Content Count

    6
  • Joined

  • Last visited

  • Medals

Community Reputation

0 Neutral

About Sam87Gamer

  • Rank
    Rookie
  1. Pierre you genius... It worked flawlessly, thank you so much for helping me out with this, also let me explain the need for the allowdamage and deletevehicle commander. So basically the way I have the tanks set up in this mission is so that one player can control the entire tank, they respawn inside of it as a commander (if they were any other role on spawn they wouldn't be able to command it), then switch to the gunner to get full control of it, that being the reason for the commander deletion. The allowdamage is there because for some reason I can't set a time for when I want the tank to respawn, for players I can enable and disable respawn, but for vehicles it just doesn't work, and so they spawn immediately after being destroyed. They have damage turned off until a wave is complete and a player spawns on the tank. I've used this code now: _newVeh = _this select 0; createVehicleCrew _newVeh; _newGrp = createGroup WEST; (crew _newVeh) joinSilent _newGrp; deletevehicle (commander _newVeh); _newVeh allowdamage false;
  2. I've spent a lot of time looking for ways to spawn units into the vehicle. Simply every topic basically has premade units that they just teleport inside of the vehicle. What I'm doing is a pvp type scenario, in which there is no specifc amount of units that will be there as they can die over and over, so pretty much none of the topics that come up help, and I can't really find a way to just spawn a unit straight into the vehicle.
  3. I was actually thinking though, is there any way to spawn a unit inside of a vehicle with a trigger command? To let's say put the unit in the Driver or gunner position?
  4. I wouldn't really be able to do that as it's supposed to be able to respawn multiple times.
  5. The tank crew is it's own group, not connected to anything so theoretically it should work. Simply there is an Angara that respawns with a gunner and a driver, a player then respawns into it as a commander, the Angara crew is supposed to be nato but I can't seem to get it to work. I tried the code you sent but it doesn't seem to work. The Angara now spawns with a gunner, driver, and commander, all still csat unfortunately. This is what I've done: _pos = getMarkerPos "my_marker"; _newVeh = _this select 0; createVehicleCrew _newVeh; _newCrew = crew _newVeh; _newGrp = createGroup WEST ; deletevehicle (commander _newVeh); _newVeh allowdamage false; Now I get an error message saying '...rew _newVeh; _newGrp = createGroup WEST|#|; deletevehicle (commander _newVeh);...'
  6. Hello, so I've been working with vehicle respawn modules for a little, and still trying to get the full hang of the expressions. The problem I have is that I have an Angara respawning with crew when destroyed, the Angara is originally put in with Nato crew members, but the new members that respawn are CSAT and start destroying everything around. I was wondering, is there any way to get the crew inside the Angara to respawn as Nato instead of CSAT? Here's the Expression that I'm using: _pos = getMarkerPos "my_marker"; _newVeh = _this select 0; createVehicleCrew _newVeh; _newCrew = crew _newVeh; _newGrp = group (_newCrew select 0); deletevehicle (commander _newVeh); _newVeh allowdamage false;
×