I'm running into a rut when it comes to using this creator.
More to the point, I want to have generated enemy actors note and follow the X-Position of the player actor.
Previously I've used "Gamesalad" and it was a fairly straight forward matter of using a game attribute (PlayerPosX) to update with the player X Position every so often and then have the enemys reference that and move them towards it.
Presently my coding in Stencyl is:
Scene Behavior:
Do every 1 seconds:
Set game attribute named (PlayerPosX) to (X) of (Player)
Actor (enemy) Behavior:
Always
Push (Self) (Gently) towards (xdir [PlayerPosX] ydir
Said behaviors arent working. Is there a simpler idea to have an actor track the player?