Hello.
I want to make all enemies in game visible and walking on map. You know, in default, enemies just appears from nowhere. It's easy to make them "visible" - just some events, when player is touching it (event touch) - battle is strating. Only my problem is movement of this enemies. "Approach" or "Turn toward player" are no good. They're going to player from begin and do not stop. What I need is some script about their movement. They should randomly walk, but when player is nearby, they should trigger and follow him. If player run away and he's far enough, enemy should stop following and continue to randomly walk.
I found this
It's similar to my conception, but problem is it's MV plugin while I'm doing it in VXA. I still don't get it, is it possible to put MV plugin into VXA script. I opened js. in wordpad, copied to scrpits, but it's not working, game crashes with error while I put this to scripts. In MV this plugin is working.
It's not necessery to put THIS script, maybe there's something like that just for VXA, I don't know.
I want to make all enemies in game visible and walking on map. You know, in default, enemies just appears from nowhere. It's easy to make them "visible" - just some events, when player is touching it (event touch) - battle is strating. Only my problem is movement of this enemies. "Approach" or "Turn toward player" are no good. They're going to player from begin and do not stop. What I need is some script about their movement. They should randomly walk, but when player is nearby, they should trigger and follow him. If player run away and he's far enough, enemy should stop following and continue to randomly walk.
I found this
It's similar to my conception, but problem is it's MV plugin while I'm doing it in VXA. I still don't get it, is it possible to put MV plugin into VXA script. I opened js. in wordpad, copied to scrpits, but it's not working, game crashes with error while I put this to scripts. In MV this plugin is working.
It's not necessery to put THIS script, maybe there's something like that just for VXA, I don't know.