I have 2 important scripts in my init.sqs
a) respawning with default BW-Mod weapons
b) showing a short camera ride from the killed player to the killer
It works for a single player, but not for a multiplayer session. Here is my init.sqs
tx_weapons = weapons player
tx_ammo = magazines player
tx_primary = primaryweapon player
player addEventHandler ["killed", {_this exec "respawn.sqs"}]
player addEventHandler ["killed", {_this exec "deadplayer.sqs"}]
I had a) working with multiplayer when I added P1,P2,P3 and P4 (thatÂ's how I named the other 4 playable soldiers) for each line:
tx_weapons = weapons Player
tx_weapons1 = weapons P1
tx_weapons2 = weapons P2
tx_weapons3 = weapons P3
tx_weapons4 = weapons P4
tx_ammo = magazines Player
tx_ammo1 = magazines P1
tx_ammo2 = magazines P2
tx_ammo3 = magazines P3
tx_ammo4 = magazines P4
tx_primary = primaryweapon Player
tx_primary1 = primaryweapon P1
tx_primary2 = primaryweapon P2
tx_primary3 = primaryweapon P3
tx_primary4 = primaryweapon P4
Player addEventHandler ["killed", {_this exec "respawn.sqs"}]
P1 addEventHandler ["killed", {_this exec "respawn1.sqs"}]
P2 addEventHandler ["killed", {_this exec "respawn2.sqs"}]
P3 addEventHandler ["killed", {_this exec "respawn3.sqs"}]
P4 addEventHandler ["killed", {_this exec "respawn4.sqs"}]
But when I did this with b) I saw the camera ride when one of my soldiers was killed:
Player addEventHandler ["killed", {_this exec "deadplayer.sqs"}]
P1 addEventHandler ["killed", {_this exec "deadplayer1.sqs"}]
P2 addEventHandler ["killed", {_this exec "deadplayer2.sqs"}]
P3 addEventHandler ["killed", {_this exec "deadplayer3.sqs"}]
P4 addEventHandler ["killed", {_this exec "deadplayer4.sqs"}]
What do I have to change so that every playable soldier has their respawn script and only the player (everyone in mp) has their own death-camera?