- Home /
Restricted Area
I was wondering if you could make a script that could help a client (Im making a multiplayer FPS) go out of a certain area then not be able to go back in. Yet this will have to be in effect for every client once they spawn.
Answer by KiraSensei · Dec 23, 2012 at 10:39 PM
In my opinion, you don't really need a script to do that. You just have to create a plane with the normals in one way. If you use the first person shooter character of the usual unity assets for your game, everything is correctly implemented inside.
Answer by Casper091 · Dec 25, 2012 at 05:17 PM
i can only help with (Halo) type kill areas make box coliders with triggers and make scripts to tell what area your at. and if its one var set, you cant go into it/ kills you
I understood the opposite : he wants a player to be able to go in a certain area, but not to come back from it.
Your answer
![](https://koobas.hobune.stream/wayback/20220613085843im_/https://answers.unity.com/themes/thub/images/avi.jpg)