Blockland Files > Add-Ons
[Script] Bot Item Fix
(1/1)
Goth77:
Script_BotItemFix
Removes a bots weapon when it dies, and re-applies it onRespawn
fixing bots firing weapons after they die, potentially 'after killing' people
Can be toggled on/off with $Pref::Server::FixBotItemDeath
DOWNLOAD
Goth77:
It has come to my attention that there is a bit of code in the default bot holes events.cs, specifically 'setWeapon' having a problem because of calling getClassName on item data. I'm not sure why this is nessessary, instead it should just be checking if the item has an image. Here is a patch which fixes this issue
DOWNLOAD PATCH
place events.cs in Bot_Hole.zip and overwrite the existing file
Potatoh:
tldr useful to anyone that uses bots w/ guns
Navigation
[0] Message Index
Go to full version