I am GM'ing a game and one of my players is using animate dead. From the spell it, "The undead can be made to follow you, or they can be made to remain in an area and attack any creature (or just a specific kind of creature) entering the place."
He interprets it as he can give simple commands and it will follow them, like, "attack the man in red", "stay", "attack whoever opens this door", "kill anybody in this area that you do not recognize." or "attack anyone who isn't an ally"
Should the mindless undead created by the spell be able to follow commands other than "follow me", "Attack" (triggering them to attack nearest living creature, necromancer excluded), "Attack the humanoid" (triggering them to attack nearest living humanoid)