I've an issue with the revive script we use and I'm obviously doing something wrong. I can set up respawn_west and base which work fine, but spawn on player doesn't seem to work. This was a huge pain for Chaos when he disconnected. When I add a name to the Init line of the group leader respawn completely breaks. DeadMen = group this;
When I die on a local LAN game I revive on the spot unable to get up or move. As soon as I remove the group name, revive on respawn_west and base work again? Can anyone give a quick and dirty guide as to how to set up a mission so that revive works as intended, thanks?
Think you're still having the same issue as the other day? Did you try what i posted to you smilo? Just give the leader a name and use that, not a group name.
Quote from: TwoBad;392766Should be an easy fix smilo. I think the issue is you are trying to respawn on a group of objects (our team) rather than a single object (the team leader) so Arma is having a hissy fit.
The fix. Keep your team (group) named 'mygroup' as i believe you require that for other scripts. Go to the team leader (the player) and give that unit (a single object) the name of 'deadmen' or whatever name you like as long as you specify it in the script. That should fix the issue you're having.
As for 'changed the respawn flagpole to a pile of fishing baskets and it broke'. Be cearful when changing named units (or objects, triggers etc), i have found that sometime the editor struggles to correctly assign a name that has previously been used to a new object. Best way to avoid this is just use a new name for the new object. This may be required for 'deadmen' but as you used this as a group name it should be ok
Sorry I completely missed that. I'll make the changes you suggest. The revive script already mentions "DeadMen" so I assume I can stick to that for my team leader .The wrecked boat is a bad idea for a respawn anyway as I managed to spawn inside it and got completely stuck. I'll stick to flagpoles etc. Thanks again.
New mission in the works...