ABVXYzackattack Posted July 9, 2011 Share Posted July 9, 2011 I appear to have a problem. I made a faction, with a reputation along with it, but for some reason, don't become hostile when I am vilified. I made sure to click on "track crime" in the faction category. Do I need to set everybody's aggression higher or what to make them attack me when I become vilified? Link to comment Share on other sites More sharing options...
mrsathletic Posted July 9, 2011 Share Posted July 9, 2011 (edited) I appear to have a problem. I made a faction, with a reputation along with it, but for some reason, don't become hostile when I am vilified. I made sure to click on "track crime" in the faction category. Do I need to set everybody's aggression higher or what to make them attack me when I become vilified? I only know how to make a faction not to attack: setfactionreaction 00104C22 1B2A4 1(The first value is the faction id.) If you have a problem with Caesar's Legion, have Boone with you. Then they will always be hostile. Edited July 9, 2011 by mrsathletic Link to comment Share on other sites More sharing options...
rickerhk Posted July 9, 2011 Share Posted July 9, 2011 I think the vanilla scripts do it like this: if (GetReputationThreshold MyCustomFaction 2 == 6) setEnemy PlayerFaction MyCustomFaction endif Link to comment Share on other sites More sharing options...
ABVXYzackattack Posted July 9, 2011 Author Share Posted July 9, 2011 hmmm...i'm trying your makeshift script, and something's not working with it. here's what my attempted one tried to be: scn ZSalvatoreHostileScript Begin Gamemode if GetReputation ZSalvatores 0 > 10setEnemy PlayerFaction ZSalvatores endif End what's wrong? i tried to use ur GetReputationThreshold command, but it didn't work either Link to comment Share on other sites More sharing options...
rickerhk Posted July 9, 2011 Share Posted July 9, 2011 I just took the example from a script where the player has been vilified, where the rep threshold 2 (negative) equals 6 (vilified). From the VFreeformNCRCFScript: short bPlayerIsEnemy ; Player has become vilified, and thus the Powder Gangers hate him forever. begin GameMode if (bPlayerIsEnemy == 0) if (GetReputationThreshold RepNVPowderGanger 2 == 6) SetEnemy NCRCFPowderGangerFaction PlayerFaction SetEnemy PowderGangerFactionNV PlayerFaction set bPlayerIsEnemy to 1 endif endif I've seen GetReputationThreshold in a bunch of quest scripts, and in dialog conditions.I tried using Getreputation once in a quest script and the script halted. Though that was a couple patches ago. I've only been able to find it on the armor scripts, so far. Edit - In the GetReputationThreshold function, you are using the rep, not the faction, right? Link to comment Share on other sites More sharing options...
Recommended Posts