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.
Exports
Section titled “Exports”Call with exports.bs_interactions:Name(...) from the same side.
| Name | Side | Where | Description |
|---|---|---|---|
AddEntity | client | client/cl_registry.lua:301 | |
AddModel | client | client/cl_registry.lua:298 | |
AddType | client | client/cl_registry.lua:303 | |
AddZone | client | client/cl_registry.lua:299 | |
CancelProgress | client | client/cl_search.lua:240 | |
CurrentEntity | client | client/cl_target.lua:824 | |
DebugLookAt | client | client/cl_target.lua:1154 | WHAT IS UNDER THE CROSSHAIR, FOR ANY DEBUG OVERLAY THAT WANTS IT. |
IsTargeting | client | client/cl_target.lua:823 | |
Progress | client | client/cl_search.lua:235 | A PROGRESS BAR ON ITS OWN. |
RemoveEntity | client | client/cl_registry.lua:302 | |
RemoveZone | client | client/cl_registry.lua:300 | |
RunSearch | client | client/cl_search.lua:223 |
Callbacks
Section titled “Callbacks”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, ...).
| Name | Direction | Where | Description |
|---|---|---|---|
containers:check | client -> server | server/sv_main.lua:209 | |
containers:loot | client -> server | server/sv_main.lua:234 | |
containers:reset | client -> server | server/sv_main.lua:326 | Staff reset, for testing loot tables without waiting out cooldowns. |
Events
Section titled “Events”“net” means the handler is registered with RegisterNetEvent, so the other side can trigger it. “local” is AddEventHandler only (same side, or game events).
| Name | Side | Type | Where | Description |
|---|---|---|---|---|
bs_interactions:debug:toggle | client | net | client/cl_target.lua:1160 | |
bs:hook:player:unloaded | client | local | client/cl_target.lua:814 | |
onResourceStop | client | local | client/cl_search.lua:218 | A 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. |
playerDropped | server | local | server/sv_main.lua:318 | A player leaving must not lock a container forever. |
Commands
Section titled “Commands”| Command | Side | Where | Description |
|---|---|---|---|
/targetdebug | server | server/sv_main.lua:357 |
bs19.org · Privacy · Terms · Cookie settings