Making Actoy X & Y Position Global Attribute
I have a game in production and it works on the age old mechanic of hoards of enemies running a you, and you kill them. I spawn them no problem. The issue is how do I get them to converge on actor the player controls???? I though I had this solved making a game attribute called player x and player y. I then added the change attribute code to update every 0.1 seconds.
This seems to work fine but only when the actor is moving. When the player pauses all the enemies stop too... I have included a video of it here![](https://img.youtube.com/vi/iEp7GGHgLYM/0.jpg)
Any ideas on how to do this more efficiently? cheers
This seems to work fine but only when the actor is moving. When the player pauses all the enemies stop too... I have included a video of it here
![](https://img.youtube.com/vi/iEp7GGHgLYM/0.jpg)
Any ideas on how to do this more efficiently? cheers
Comments
Then on enemies, upon spawn, have them move to these game attributes.
If that doesnt work, show a screenshot of your enemy rules so we can see what is going on.
http://i.imgur.com/JqaXJ.png
The rotate works fine. I am sure i am being thick! thanks for the help
Guru Video Channel | Lost Oasis Games | FRYING BACON STUDIOS