Okay then, IÂ'll tell you all.
1. There are one chopper per side; blackhawk (no machinegun, the ordinary) for west and mi17 for the east.
2. ThatÂ's what I am going to do, if I get some tips how to do it.
3. The action is added simply by putting following "text" into blackhawks Init section in the editor.
this addaction ["Parachute group","West Eject.sqs]
So when the west leader, the human player (notice, this mission is recommended to 2 players, one on each side) enters the chopper as a pilot and the team is in the cargo he can make this action and the team jumps from the chopper. BIG NOTICE! I am not asking you to determine is the player a pilot and is the team in the cargo, just make me this addaction along with the vehicle respawn script.
For east, I made almost the same, so I put the following text into the mi17`s init field:
this addaction ["Parachute group","East Eject.sqs"]
I should also tell you the parachute script entirely:
soldierw1 action ["EJECT", blackhawk]
~1
soldierw2 action ["EJECT", blackhawk]
~1
soldierw3 action ["EJECT", blackhawk]
~1
soldierw4 action ["EJECT", blackhawk]
~1
soldierw5 action ["EJECT", blackhawk]
~1
soldierw6 action ["EJECT", blackhawk]
~1
soldierw7 action ["EJECT", blackhawk]
~1
soldierw8 action ["EJECT", blackhawk]
~1
soldierw9 action ["EJECT", blackhawk]
exit
So thatÂ's the script for west. Okay, it sounds like a beginner script, but it works well, notice that the soldier names are always the same, after they die, but because of the Create object command, the blackhawk losts its name. First, when I didnÂ't know about this, I made a script which activates 65,1 seconds after the blackhawk is destroyed, repeatedly, because the respawn time of blackhawk was 65 seconds and in the on activation section I put the addaction command. Same for the mi17. The east eject script is very similar to the west eject; it has only different names on it.
4. The action is visible to everyone, but only west can use its script and east can use its script, because of the different names like blackhawk and mi17. I am not gonna fix this one.
But please. LetÂ's focus now on the vehicle respawn script.