- Joined
- Oct 8, 2019
- Messages
- 2
- Reaction score
- 0
- First Language
- Italian
- Primarily Uses
- RMMV
Hi everyone, i'd like the event to say the name of the weapon i have equipped.
//in the event page
I save the script in a variable:
V002 = $gameActors.actor(1).equips()[0]
and then in the show text i put -> \v[2]
but when i'm in game it gives me the text [object Object] instead of (in this case) Dagger.
Also, the character is dual wield, so i do similar things for the second weapon:
V003 = $gameActors.actor(1).equips()[1]
and in the show text -> \v[3], but it gives me the same thing.
I can't figure it out. Can someone please help me?
Thanks for reading.
PS. This is my first post, if i've done something wrong, let me know.
//in the event page
I save the script in a variable:
V002 = $gameActors.actor(1).equips()[0]
and then in the show text i put -> \v[2]
but when i'm in game it gives me the text [object Object] instead of (in this case) Dagger.
Also, the character is dual wield, so i do similar things for the second weapon:
V003 = $gameActors.actor(1).equips()[1]
and in the show text -> \v[3], but it gives me the same thing.
I can't figure it out. Can someone please help me?
Thanks for reading.
PS. This is my first post, if i've done something wrong, let me know.
Attachments
-
22.4 KB Views: 1



