| Author | Sticky: Post Working Scripts Here |
| Orion117 | Posted: Saturday, 27 July 05:44PM |
| Moving Pcs to Custom Factions This script will move a PC to a Custom faction once he or she opens a door. You can place this in a door's OnOpen Event or OnHearbeat event works both ways. Tested this script by placing a door with this script attached to the door's OnOpen Event first. Had made two distinct custom factions 1.) Drow 2.) DG. Each of the factions hated each other but were both neutral to the PC. Plotted four NpCs from each faction group down. One of the NPCs tags and resref read dg001 and one was drow001. Then plotted a hostile wall gate down. The two factioned areas were separated by a wall. Once I as a PC opened the door that had this script on it I went to friendly to the dg faction and hostile to the drow faction. Worked like a charm. Special thanks goes to The_Prof and Palor for helping me out with this script. Im also almost positive that this script can go into the ActionsTaken portion of an NPCs conversation.
|
|