mechanix2112 Posted March 8, 2015 Share Posted March 8, 2015 I've spent quite a lot of time creating a mod that involves a guild that I'd like the player to be able to join. In this case, acquire the key to the headquarters, and you're in the guild. Simple as that. What I need are specific instructions on how to make this happen. I don't doubt that it involves some level of scripting, which I'm completely daft about. Any help would be really appreciated. Link to comment Share on other sites More sharing options...
cfh85 Posted March 8, 2015 Share Posted March 8, 2015 put a script on the key. Something simple like Begin OnAdd Player <--- specifying player stops it from possibly being triggered by NPCsPlayer.SetFactionRank FACTIONNAME, 0End Should work as long as you don't include a gamemode block Link to comment Share on other sites More sharing options...
IkeCoast Posted March 8, 2015 Share Posted March 8, 2015 Cfh, you put a comma between the factionname block and the modifier, are you sure it's correct? Because I'm going to try it and if the comma makes my computer explode I will chase you until the end of the World. Dunno what to do with you once I got you. Any suggestion? Whatever. Thanks for the information, I knew the command but not the way to add it to the key. Cheers! Link to comment Share on other sites More sharing options...
mechanix2112 Posted March 8, 2015 Author Share Posted March 8, 2015 put a script on the key. Something simple like Begin OnAdd Player <--- specifying player stops it from possibly being triggered by NPCsPlayer.SetFactionRank FACTIONNAME, 0End Should work as long as you don't include a gamemode block That worked. Tnank you! Link to comment Share on other sites More sharing options...
claustromaniac Posted March 8, 2015 Share Posted March 8, 2015 Cfh, you put a comma between the factionname block and the modifier, are you sure it's correct? Because I'm going to try it and if the comma makes my computer explode I will chase you until the end of the World. Dunno what to do with you once I got you. Any suggestion? Whatever. Thanks for the information, I knew the command but not the way to add it to the key. Cheers! Ike, even though that use of commas in scripts is not documented AFAIK, I've seen it used that way many times and it seems to work fine. If still in doubt, trust the CS compiler and test by yourself :) PS: Personally, I wouldn't put the comma, but that's just etiquette. Link to comment Share on other sites More sharing options...
IkeCoast Posted March 8, 2015 Share Posted March 8, 2015 Claustro, as Mecha already confirmed, the script works, so I have no excuse to chase Cfh all around the world á la Carmen Sandiego. What a pity. Unless he fancies, of course. Cheers! Link to comment Share on other sites More sharing options...
claustromaniac Posted March 8, 2015 Share Posted March 8, 2015 Claustro, as Mecha already confirmed, the script works, so I have no excuse to chase Cfh all around the world á la Carmen Sandiego. What a pity. Unless he fancies, of course. Cheers! LOLYes, I can see that. But I couldn't help it, we replied almost at the same time. Link to comment Share on other sites More sharing options...
Recommended Posts