So, here are the events I setted up for my "Enemy",
is just really random and basic, to see how it works.
<img src="http://s12.postimg.org/rt0ooa3fx/events.png" border="0" />
I created a sprite called "Mob",
then created an instance variable called "MobMov" and setted to start with the value "derecha" (right).
The sprite also got platform behaviour with default control set to off.
<img src="http://s7.postimg.org/o8doi1uvv/atts.png" border="0" />
So my intention was to generate a mob near my character every second (just to see if they spawned), and that was the first problem, it just spawns 1 mob. Not more.
Then the idea was to randomly move left-right every 1 to 10 seconds,
so if the mob was walking to right, every 1 to 10 seconds it would change and walked left.
But it appears, go right, a second later go left, and then never goes right again.
So..
what am I doing wrong? xD
Thanks! :)
EDIT:
"Mover" is the playable character,
and "Block" is the ground.
So Mover.X is where my character is on X range.
And Block.Y-100 is to generate it above the ground,
and fall to ground.