Hello
I'm no expert, but I saw a script in the library (follow Artak's link) that runs only when the player is dead (one of the player respawn scripts but I can't remember which one, sorry
) that might be useful for you.
In THAT script, the player is refitted with his full kit when he comes back to life, rather than getting the default weapon with one magazine. What YOU want to do is have the script load the player on to the carrier in the spawnpoint when they come back to life.
Again, I'm no expert, but I think that you want all your player characters to be running something like this -
#loop
? !alive player: goto "backoncarrier"
~1; any #, so long as it is greater than your respawndelay !
goto "loop"
#backoncarrier
player moveInCargo "Carrier"
exit
I'm sure that I missed something and you should probably use the @ function ( as in @ !alive player) but I'm still not sure how to use that one so I'll leave it to better minds than my own to fill you in.
Good Luck !
Roni