Drinking script
In my module I often have the following Situation.Geralt talks to someone. Then the conversation view ends, Geralt and the npc he is talking to drink and the conversation continues. I tried the script from shani's party. But Geralt just gets drunk. So I tried making an own script.void main(){ object OPC = GetFirstPC(); object OCHARACTER = GetObjectByTag("..."); ActionPauseConversation(); AssignCommand(OPC, PlayAnimation(113, 1.0)); AssignCommand(OCHARACTER, PlayAnimation(113, 1.0)); SetCurrentDrunkState(GetCurrentDrunkState(OCHARACTER)+10, OCHARACTER); SetCurrentDrunkState(GetCurrentDrunkState(OPC)+10, OPC); ActionResumeConversation();}But this do not work too. So could someone give or make me a working script?
In my module I often have the following Situation.Geralt talks to someone. Then the conversation view ends, Geralt and the npc he is talking to drink and the conversation continues. I tried the script from shani's party. But Geralt just gets drunk. So I tried making an own script.void main(){ object OPC = GetFirstPC(); object OCHARACTER = GetObjectByTag("..."); ActionPauseConversation(); AssignCommand(OPC, PlayAnimation(113, 1.0)); AssignCommand(OCHARACTER, PlayAnimation(113, 1.0)); SetCurrentDrunkState(GetCurrentDrunkState(OCHARACTER)+10, OCHARACTER); SetCurrentDrunkState(GetCurrentDrunkState(OPC)+10, OPC); ActionResumeConversation();}But this do not work too. So could someone give or make me a working script?


