So, I was trying to finish hl1 without aggroing any enemies. But I can’t figure out a code that would show me if an enemy is aggroed or not. I heard that some guys can write a code that would work via .lua file. Can anybody help me about it?
Vanilla Half-Life 1 doesn’t load .lua files; the scripts you heard about come from a modded client/plugin. In the HL1 SDK, “aggro” isn’t one flag—monsters store their current enemy in m_hEnemy and use conditions such as COND_SEE_ENEMY. A server plugin or custom DLL could watch those and print a message, but there’s no built-in console command for it.