Can an enemy activate a switch?

Started by Starlock, October 26, 2017, 08:06:15 AM

Previous topic - Next topic
I'm trying to make a projectile that activates a switch, but when I put in enemy:overlaps(entity) an error comes up saying that it expects an integer so I'm not sure what to do for this.

Make sure that your entity parameter is a variable of type entity.