Here's my thoughts.
Since the ant/termite/wasp are all normal bug zombies, in the normal stage they just attack regularly.
The wasp has an attack in which it picks the player up and drops them. The script for this wasp's attack should have it so the spot where the player lands is random.
In the "Special Mode" each nest brick that is placed spawns several of the bug that matches the nest. About five will go out and attempt to pick up the players, then bring them into the nest. If the player tries to escape inside of the nest, the rest of the bugs will attack.
So, yeah. It's pretty complicated, we'd need some advanced scripters to make this part possible.
EDIT: Oh and the bugs spawned in the Special Mode are limited to that gamemode. They are different from the regular ant/termite/wasp.