// ============================================================================ // File Name: asl_npc_on_spawn // Initialize Decoupled Agent Architecture, on Object OnSpawn event. // ============================================================================ #include "nw_i0_generic" void main() { // 1. Initialize Default Bioware Combat/Perception AI SetListeningPatterns(); SetSpawnInCondition(NW_FLAG_AMBIENT_ANIMATIONS); // 2. Setup LLM Strategy Defaults int nStrategy = GetLocalInt(OBJECT_SELF, "LLM_STRATEGY"); if (nStrategy == 0) { SetLocalInt(OBJECT_SELF, "LLM_STRATEGY", 1); nStrategy = 1; } // 3. Strategy Specific Overrides if (nStrategy == 3) { // Maestros should wander randomly to look busy while they puppet WalkWayPoints(); } GenerateRandomDrop(); }