CH_SwissWolf 1 Posted March 27, 2014 Hi all, and as usual, sorry for my grammatical errors. After some check on forums, google and, certainly, on the Wiki, I stay with a problem. In a TDM mission, I have a safe spawn area, but this can be a problem if the players can shoot from the area: they can kill but not be killed. So, someone had a nice idea to avoid players to shot from the "safe spawn area"? :o What I see now is a workaround like "put the player weapons on an array, delete them from the player inventory until the player is into the area, and give them back when they are out", but I still a little bit confused... I can't really have an easiest way like: if player in this area, than block weapons (the problem, for me, actually is this "than block weapons") I would really appreciate any idea/suggestions. On each way, thank you all for your time on this post Share this post Link to post Share on other sites
bangabob 42 Posted March 27, 2014 Add a fired event handler to all the units while they are inside the area. Use this event handler to delete the projectile that was fired. Then simply remove this EV when the unit leaves the area Share this post Link to post Share on other sites
mariodu62 5 Posted March 27, 2014 you can find this function in a lot of mission... protection base Share this post Link to post Share on other sites
roguetrooper 2 Posted March 27, 2014 You can create a cylindrical object in which nobody can be killed and nobody can kill anybody outside and inside. You also can't shoot through it. It has a radius of 25 metres. On the server: shield_west = "ProtectionZone_Invisible_F" createVehicle (getmarkerpos "Respawn_west"); shield_west setpos [(position shield_west) select 0,(position shield_west) select 1,-20]; shield_west setvectorup [0,0,1]; On every client: shield_west setObjectTexture [0,'#(argb,8,8,3)color(0,0,1,0.75)']; Additionally you might add a trigger with a radius of 25 metres on the position of that cylinder that kills all units of the enemy side(s) to prevent enemies "hiding" in that area. Share this post Link to post Share on other sites
CH_SwissWolf 1 Posted March 28, 2014 Thanks all for the inputs. @ BangaBob: the input was good, unfortunately I haven't give you an important information; I was looking for something on MP @Mariodus: yes, I know, but I'm "strange"... I prefers test/try (even I agree with you, sometimes "copy", or just look to have an idea, it can give some precious help) @RogueTrooper: that was more then an input! :D Thank you. Until now I haven't take in consideration the Vehicles. Share this post Link to post Share on other sites