Added PEPS AI

Added PEPS AI.
Full compile.
Reorganized repository.
This commit is contained in:
Jaysyn904
2025-07-28 12:49:34 -04:00
parent b831afe171
commit ab2fc1d732
5040 changed files with 71106 additions and 8200 deletions

View File

@@ -0,0 +1,27 @@
#include "cs_misc_function"
void main()
{
//
// Move everyone within 20 meters of speaker to wp_cain waypoint (CS)
//
object oPC = GetPCSpeaker();
if (oPC != OBJECT_INVALID) {
cs_MovePartyNearbyToLocation(oPC, "wp_bearhome", 20.0);
}
/* OLD SCRIPT VERSION
object oPC = GetFirstPC();
object onPC = GetLastSpeaker();
while (GetIsPC(oPC)) {
float fDistance = GetDistanceBetween(oPC, onPC);
if (fDistance <= 30.0) {
DelayCommand(1.0,AssignCommand (oPC, JumpToObject(GetWaypointByTag("wp_cain"))));
} else {
}
oPC = GetNextPC();
};
*/
}