Please help! How to code human turning to zombie through touching

I am looking through Braains.io script and trying to learn how to build a modd.io game.
Can anyone tell me how human turning into zombie through touching was coded in the game???

Thanks.

Here is the ‘infect human’ entity script on the Zombie unit type in the Zombie Tag template.


Basically, to detect when this zombie touches a human, make a script that triggers when the zombie touches any unit, check if that unit is a human, and run actions depending on that.

1 Like

Thank you so much!!!

1 Like