2025/07/21 Update

Added PEPS AI.
Full compile.
This commit is contained in:
Jaysyn904
2025-07-21 09:07:09 -04:00
parent 0b53f89e02
commit 9ae0679a70
1359 changed files with 44828 additions and 1039 deletions

View File

@@ -0,0 +1,25 @@
/*//////////////////////////////////////////////////////////////////////////////
Script: 0e_get_henchman
Programmer: Philos
////////////////////////////////////////////////////////////////////////////////
Action taken script that adds oCreature to oPC's party as a henchman
while giving a random message.
*///////////////////////////////////////////////////////////////////////////////
#include "0i_associates"
void main()
{
object oCreature = OBJECT_SELF;
object oPC = GetPCSpeaker();
AddHenchman(oPC, oCreature);
int nVoice;
switch(d4())
{
case 1: nVoice = VOICE_CHAT_CANDO; break;
case 2: nVoice = VOICE_CHAT_CHEER; break;
case 3: nVoice = VOICE_CHAT_GOODIDEA; break;
case 4: nVoice = VOICE_CHAT_LAUGH; break;
}
PlayVoiceChat(nVoice, oCreature);
}