GowF3nv Posted May 24, 2013 Share Posted May 24, 2013 (edited) Im a mod I'm working on, I have seperate areas for men and women. I was thinking of making something that triggered a collision marker to turn off depending what gender they are, to allow them into the area. I assume this would be a script right? Would I use some physical trigger, like the raven rock laser tripwire? Thanks in advance! Edited May 24, 2013 by GowF3nv Link to comment Share on other sites More sharing options...
prensa Posted May 25, 2013 Share Posted May 25, 2013 GowF3nv - Hello!"I assume this would be a script right? Would I use some physical trigger, like the raven rock laser tripwire? Thanks in advance!"Yes, you'd use a script to detect the sex of the player & open the area if they're the correct one.The script function Player.GetIsSex would probably do it.Depending on exactly what you're doing, there's a simple script that attaches to a door that can be set to only allow the sex you choose to enter, the very first one here:http://geck.bethsoft.com/index.php/Useful_ScriptsA variation of that could be used to disable an invisible collision marker but an invisible barrier that stops you entering is a little less immersive than a restricted door. Depends on what effect you're after.You can even attach a version of that script to a trigger zone, info on creating a trigger primitive:http://geck.bethsoft.com/index.php/Creating_PrimitivesThat would allow detection of the players sex when they enter an invisible area (the trigger box with a custom script attached).Disscusion of attaching a script to a trigger here:http://geck.bethsoft.com/index.php/Bethsoft_Tutorial_Basic_Quest#Trigger_ScriptCollision boxes/planes/spheres are created in the same way as described there, you just use one of the three collision buttons at the top of GECK (right at the end with C on them).Collision boxes will stop the player from entering & can be deactivated from within a sript or have an enable parent.Hope this helps!Prensa Link to comment Share on other sites More sharing options...
GowF3nv Posted May 28, 2013 Author Share Posted May 28, 2013 Hey, thanks! This helped a lot. I had already found the door script page, but I needed the second one you posted, to divide an area by gender. Link to comment Share on other sites More sharing options...
prensa Posted May 29, 2013 Share Posted May 29, 2013 GowF3nv - Hello! Glad to have helped! :) Prensa Link to comment Share on other sites More sharing options...
Recommended Posts