How do I store an enemy index on a variable?

Status
Not open for further replies.

Magusalfador

Veteran
Veteran
Joined
Jun 15, 2014
Messages
209
Reaction score
36
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,183
Reaction score
4,301
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

Pft... people think the moon landing is fake. Nonsense. The moon doesnt even exist in the first place, it's just the reflection of the earth on the surface of space.
I don't know if anyone will get my old pop culture references. Item: Empty Basket. Description: Don't worry. Yogi Bear won't try to steal it.
My second childrens book is finally uploaded and approved and available to buy! I am so happy!
I just realized I passed 1,000 likes. I'm amazed you people actually like this crap. It's no surprise you'd like my high quality content. :kaopride:
Running on a creative high right now. Expanding my Redwood tile D with doors, windows, and some other odds and ends today.

Forum statistics

Threads
95,751
Messages
931,593
Members
126,141
Latest member
MrAbdullahX
Top