How do I store an enemy index on a variable?

Status
Not open for further replies.

Magusalfador

Veteran
Veteran
Joined
Jun 15, 2014
Messages
231
Reaction score
38
First Language
English Spanish
Primarily Uses
Hi all!

What I want here is to store the index (troop index of course) of the enemy Im targeting.

thanks!

EDIT: Nm, I hink i got it:
Code:
$gameTroop.allMembers().indexOf(target)
CLOSED.
 
Last edited:

slimmmeiske2

Little Red Riding Hood
Global Mod
Joined
Sep 6, 2012
Messages
6,496
Reaction score
4,405
First Language
Dutch
Primarily Uses
RMXP

This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

 
Status
Not open for further replies.

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

ANY FEEDBACK APPRECIATED!

Online Platformer TEST DEMO 0.1 - 4 simple Maps. Just jumping test. (I still have 2 minor problems to fix).
So ms store had an idea to nuke the the entire app when the file integrity is slightly broken.
Im on another months long scripting high. I wonder if I can go SSJS3?

Version Fille in english is now complete!
Download the game on itch.io:
Talk about it here: https://forums.rpgmakerweb.com/index.php?threads/120802/

Enjoy and share!
3am me was like.... Hey buddy, what if I told you, where we're going we don't need events? :LZSwink:
5pm me is like.... Was 3am me onto something? No! Must work on actual gameplay! Rabbit hole bad! :kaoback:

Forum statistics

Threads
98,037
Messages
948,728
Members
129,292
Latest member
zenmai
Top