Forum Mod Bakery Docs

How is the wasp projectile count determined.

Please login to contribute to the conversation.
I've been digging through the source code to figure out how the Wasps work and how their behaviour works but I'm pretty stumped when it comes to the projectile count. For reference, in level 1, a wasp shoots one bolt of lighting whereas in level 5, they shoot 5. I wondered if anyone with experience modding the wasps per level know if this is something which is determined in the scripts for missions or the actual wasp models per each level? So far as I've been looking in the source code, I've found the event callbacks to actually make them shoot, and where exactly an event listener checks to make the wasp shoot.

Any info would be greatly appreciated. I know that the wasps have the projectile allocation count in the script for each level but in the code this refers to how many instances of the projectile should be allocated for use in memory, not how many shoot.

Cheers