Customizing entity glow highlights using HighlightSettings array:
void EnableGlow(uintptr_t entity, ColorRGB color, uint8_t style) {
Write<uint8_t>(entity + 0x310, 1); // m_highlightFunctionBits = 1 (Enable)
Write<uint8_t>(entity + 0x320, style); // HighlightContext ID (2 = Visible, 1 = Wallhack)
Write<ColorRGB>(entity + 0x1D0, color); // Outline RGB color
}
// Usage:
EnableGlow(enemyEntity, { 1.0f, 0.0f, 0.0f }, 1); // Red glow behind walls
EnableGlow(enemyEntity, { 0.0f, 1.0f, 0.0f }, 2); // Green glow when visibleZero FPS loss because the game's GPU shader draws the outlines natively!