Skip to content

bs_interactions

dot targeting, world interactions, searchable containers.

Generated from the Lua sources in resources/[beyond]/bs_interactions/. 20 entries. The description column is the comment above the line in the code, so if it’s empty nobody wrote one yet.

Call with exports.bs_interactions:Name(...) from the same side.

NameSideWhereDescription
AddEntityclientclient/cl_registry.lua:301
AddModelclientclient/cl_registry.lua:298
AddTypeclientclient/cl_registry.lua:303
AddZoneclientclient/cl_registry.lua:299
CancelProgressclientclient/cl_search.lua:240
CurrentEntityclientclient/cl_target.lua:824
DebugLookAtclientclient/cl_target.lua:1154WHAT IS UNDER THE CROSSHAIR, FOR ANY DEBUG OVERLAY THAT WANTS IT.
IsTargetingclientclient/cl_target.lua:823
Progressclientclient/cl_search.lua:235A PROGRESS BAR ON ITS OWN.
RemoveEntityclientclient/cl_registry.lua:302
RemoveZoneclientclient/cl_registry.lua:300
RunSearchclientclient/cl_search.lua:223

Server callbacks are called from a client with BSB.Await(name, timeoutMs, ...). Client callbacks are called from the server with BSB.AwaitClient(src, name, timeoutMs, ...).

NameDirectionWhereDescription
containers:checkclient -> serverserver/sv_main.lua:209
containers:lootclient -> serverserver/sv_main.lua:234
containers:resetclient -> serverserver/sv_main.lua:326Staff reset, for testing loot tables without waiting out cooldowns.

“net” means the handler is registered with RegisterNetEvent, so the other side can trigger it. “local” is AddEventHandler only (same side, or game events).

NameSideTypeWhereDescription
bs_interactions:debug:toggleclientnetclient/cl_target.lua:1160
bs:hook:player:unloadedclientlocalclient/cl_target.lua:814
onResourceStopclientlocalclient/cl_search.lua:218A restart mid-search is the one exit the function above cannot reach: its thread dies where it stands, with the weapon still hidden and no way back short of re-equipping.
playerDroppedserverlocalserver/sv_main.lua:318A player leaving must not lock a container forever.
CommandSideWhereDescription
/targetdebugserverserver/sv_main.lua:357