New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
NPCs are rude to the player even after defeating them #4
Conversation
gothic-1-community-patch/scriptbase/_work/Data/Scripts/Content/AI/B_Human/B_MoveNPC.d Lines 73 to 83 in d3c811b
changed to else if (Npc_GetAttitude ( self, other) == ATT_ANGRY || Npc_GetAttitude ( self, other) == ATT_NEUTRAL )
&& C_AmIStronger(self, other)
&& !C_NpcIsGuard(self)
&& !C_NpcIsGuardArcher(self)
&& self.aivar[AIV_WASDEFEATEDBYSC]==FALSE
{
B_FullStop (self);
B_SmartTurnToNpc(self, other);
B_Say (self, other, "$OUTOFMYWAY");
AI_StartState (self,ZS_MoveNpcWait, 0, "");
return;
} |
I suppose the label |
I agree, that's why I left the issue open. |
The test is manual: The PC is teleported right in front of Cronos. He is set to "defeated" and should react with "May I pass through here?" instead of "Step aside!". |
Describe the bug
NPCs confront the player when he is standing in their way even if he has defeated them before.
Expected behavior
NPCs no longer confront the player when he is standing in their way if he has defeated them before.