O_Atoba_Azul Posted June 17, 2022 Share Posted June 17, 2022 Don't Starve Together 2022-06-17 18-37-18.mp4 As the name implies, make cannons shoot nearby loaded cannons! Code below: Spoiler --in components/boatcannon Shoot function local cannons = TheSim:FindEntities(x, y, z, TUNING.WATERPLANT.ATTACK_AOE * 1.5, {"ammoloaded", "boatcannon"}, {"burnt"}) for k,v in ipairs(cannons) do if v.components.boatcannon ~= nil then v:DoTaskInTime(math.random(), v.sg:GoToState("shoot")) end end Link to comment https://forums.kleientertainment.com/forums/topic/140968-suggestion-cannon-volley-firing/ Share on other sites More sharing options...
-Nick- Posted June 17, 2022 Share Posted June 17, 2022 Yoo that looks sick! Link to comment https://forums.kleientertainment.com/forums/topic/140968-suggestion-cannon-volley-firing/#findComment-1577722 Share on other sites More sharing options...
dzzydzzy Posted June 17, 2022 Share Posted June 17, 2022 4 palm scales per cannon that's 28 scales to create that line which seems pretty pricey- Not to mention crafting the ammo for each one. Sure it looks cool, I'm just not sure what use this would be for at such a massive expense in a survival world. Link to comment https://forums.kleientertainment.com/forums/topic/140968-suggestion-cannon-volley-firing/#findComment-1577738 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.
Please be aware that the content of this thread may be outdated and no longer applicable.