This game contains an example of how to make an npc float around randomly and to fade in and out on a cycle. Also contains a way to stun the enemy for a short period of time, interrupting their movement cycle.