- Joined
- Jun 2, 2012
- Messages
- 30
- Reaction score
- 2
- First Language
- French
- Primarily Uses
- RMMV
Hello!
I'm actually working on a Battle system that make the actors stay in place where they finished the attack.
My problem is, if I'm really unlucky with the movements of those actors, they can end up off screen after a while.
In the uploaded example, they would continue their way to the bottom of the screen, which I don't want!
So, I was wondering if there a way to check of the current active actor/battler pposition in the screen.
For example I found "$gameTroop.members()[EnemyIndex]._screenY > 500" for the enemy
It works but it's not really that usefull as I need to check if for each corner of the screen, and every possible present enemy on screen.
I also didn't found the one for the player's party member.
So, in brief :
Is there a script call to say "Check the active battler position on screen" or something similar?
Thanks!
I'm actually working on a Battle system that make the actors stay in place where they finished the attack.
My problem is, if I'm really unlucky with the movements of those actors, they can end up off screen after a while.
In the uploaded example, they would continue their way to the bottom of the screen, which I don't want!
So, I was wondering if there a way to check of the current active actor/battler pposition in the screen.
For example I found "$gameTroop.members()[EnemyIndex]._screenY > 500" for the enemy
It works but it's not really that usefull as I need to check if for each corner of the screen, and every possible present enemy on screen.
I also didn't found the one for the player's party member.
So, in brief :
Is there a script call to say "Check the active battler position on screen" or something similar?
Thanks!
Attachments
-
972.9 KB Views: 25
