Integration

ERS Integration

ERS Integration

The current Raze_NPCAI build uses its own client/ers_adapter.lua. You should not replace or append code to base ERS client files.

Recommended start order:

ensure night_ers
ensure Raze_NPCAI

The adapter currently uses ERS for identity/inventory refresh, surrender, kneeling, cuffing, uncuffing, searching, release, custody vehicle escort and interaction flee rolls. It also listens for callout data so the AI can keep the correct NPC roles on scene.

If an older NPCAI build previously replaced ERS c_functions.lua, restore the original ERS file before using the standalone adapter.