Alis_999 Posted October 4, 2023 Posted October 4, 2023 (edited) Heya! So, my question is, is it possible to create a condition where the presence of a keyword on armor would change the attitude of the NPC towards the player? Not attack, but like "setrelationshiprank" console command. For example, i want a player, when wearing clothes with the keyword "rich", to receive a relationship with an NPC wearing clothes with the keyword "poor" is -3. Edited October 4, 2023 by Alis_999
anjenthedog Posted October 5, 2023 Posted October 5, 2023 offhand, I wouldn't think so. Well, maybe outside enchanting something with a speech boost, which theoretically might do something to improve your ability to gain relationship points indirectly, but that's merely idle speculation on my part.
traison Posted October 5, 2023 Posted October 5, 2023 Sure, you just need to figure out when you want this to happen. 1
anjenthedog Posted October 5, 2023 Posted October 5, 2023 (edited) Didn't think about that. I figured the OP meant some sort of temporary increase based on being around them. But otherwise, wouldn't every NPC encountered become permanently "enamored" upon encountering you? Edited October 5, 2023 by anjenthedog
Alis_999 Posted October 6, 2023 Author Posted October 6, 2023 (edited) 12 hours ago, traison said: Sure, you just need to figure out when you want this to happen. I don’t understand how your link to connect with the keywords on the clothes Edited October 6, 2023 by Alis_999
traison Posted October 6, 2023 Posted October 6, 2023 1 hour ago, Alis_999 said: I don’t understand how your link to connect with the keywords on the clothes The code for that is going to change depending on where you implement this. But generally it goes something like this: Actor Property OtherActor Auto Actor Property Player Auto Keyword Property SomeKeyword Auto If (Player.WornHasKeyword(SomeKeyword)) OtherActor.SetRelationshipRank(Player, 4) Else OtherActor.SetRelationShipRank(Player, -4) EndIf
Alis_999 Posted October 6, 2023 Author Posted October 6, 2023 3 hours ago, traison said: The code for that is going to change depending on where you implement this. But generally it goes something like this: Actor Property OtherActor Auto Actor Property Player Auto Keyword Property SomeKeyword Auto If (Player.WornHasKeyword(SomeKeyword)) OtherActor.SetRelationshipRank(Player, 4) Else OtherActor.SetRelationShipRank(Player, -4) EndIf ok, thanks
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now