SEanfitzey7139 Posted August 10, 2006 Share Posted August 10, 2006 I need to make something for a mod where I need to get in a faction without a quest or anything and birthsign help if possible Link to comment Share on other sites More sharing options...
GBHis Posted August 10, 2006 Share Posted August 10, 2006 Here you go. Put it on an object that can be activated. scriptname GBHisFactionForFitzey ; Delete the line below and replace all occurances of "someperson" with ; "player" if only the player should be allowed to enter the faction this way. ref someperson Begin OnActivate ;Delete the line below if you deleted the ref someperson line. set someperson to GetActionRef If (player.GetInFaction FitzeyFaction != 1) ;Put them in the faction someperson.SetFactionRank FitzeyFaction, 1 else ;Throw them out of the faction someperson.SetFactionRank FitzeyFaction, -1 Endif End It isn't possible to set the player birthsign, but you CAN check which birthsign the player chose. Scriptname GBHisBirthsignHelpForFitzey Begin OnActivate if (PlayerRef == GetActionRef) && (GetIsPlayerBirthsign FitzeyBirthsign != 1) messagebox "You idiot! Choose my Birthsign or DIE!" showbirthsignmenu set killhim to 1 endif End Begin Gamemode ; I really mean to do this! if (killhim == 1) && (GetIsPlayerBirthsign FitzeyBirthsign != 1) player.kill endif EndIn this case, the player gets a dialog box which - in a very rude way - tells the player to choose your birthsign.If he doesn't, he dies. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.