Solarus-Games English Forum

Solarus => Development => Topic started by: Max on March 07, 2018, 07:11:26 PM

Title: Enemy Obstacle Behavior: Swimming
Post by: Max on March 07, 2018, 07:11:26 PM
Hey, so I was trying to make a zora kind of guy, and I set his behavior to swimming. Now he will swim through the ground with impunity. Does the swimming behavior allow enemies to walk on the ground also? Is there a behavior that keeps them in the water? Thanks!
Title: Re: Enemy Obstacle Behavior: Swimming
Post by: jojo_f on March 08, 2018, 02:58:21 AM
This does not affect behavior, but maybe you could try a wall in quest editor, that is impassable only to enemies, and surround the water with it. However this may have unintended consequences if you intend to let land-based enemies fall in the water. I imagine there are more advanced solutions that may be more helpful.