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:270 | |
AddModel | client | client/cl_registry.lua:267 | |
AddType | client | client/cl_registry.lua:272 | |
AddZone | client | client/cl_registry.lua:268 | |
CancelProgress | client | client/cl_search.lua:138 | |
CurrentEntity | client | client/cl_target.lua:494 | |
DebugLookAt | client | client/cl_target.lua:673 | Toggled from the server only (see sv_main.lua), since the client cannot test an ACE. |
IsTargeting | client | client/cl_target.lua:493 | |
Progress | client | client/cl_search.lua:133 | Standalone progress bar, no animation and no movement cancel (for machines that run on their own). |
RemoveEntity | client | client/cl_registry.lua:271 | |
RemoveZone | client | client/cl_registry.lua:269 | |
RunSearch | client | client/cl_search.lua:129 |
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:146 | |
containers:loot | client -> server | server/sv_main.lua:171 | |
containers:reset | client -> server | server/sv_main.lua:251 | 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:679 | |
bs:hook:player:unloaded | client | local | client/cl_target.lua:484 | |
onResourceStop | client | local | client/cl_search.lua:124 | On a resource restart mid-search the thread dies with the weapon still hidden. |
playerDropped | server | local | server/sv_main.lua:243 | A player leaving must not lock a container forever. |
Commands
Section titled “Commands”| Command | Side | Where | Description |
|---|---|---|---|
/targetdebug | server | server/sv_main.lua:269 |
bs19.org · Privacy · Terms · Cookie settings
Cookies and outside content
The site only needs two essential cookies to keep you logged in and protect forms. Videos and streams from YouTube and Twitch load from their servers, which can set their own cookies, so they stay off until you say yes. Nothing is pre-ticked and you can change your mind any time with "Cookie settings" at the bottom of every page. Details.
Questions about the server, the framework or the site? A real person reads this, usually within a day.