TheoAllen

Self-proclaimed jack of all trades
Veteran
Joined
Mar 16, 2012
Messages
6,052
Reaction score
7,140
First Language
Indonesian
Primarily Uses
RMVXA
Code:
$data_system.sounds[22] = RPG::SE.new("Fire1", 80, 100)
"Fire1" = SE name
80 = volume
100 = pitch
Change it as you wish
 

GustavoF

Villager
Member
Joined
Oct 3, 2020
Messages
5
Reaction score
1
First Language
Portuguese
Primarily Uses
RMVXA
Code:
$data_system.sounds[22] = RPG::SE.new("Fire1", 80, 100)
"Fire1" = SE name
80 = volume
100 = pitch
Change it as you wish
Thank you very much :).
 

Kes

Veteran
Veteran
Joined
Aug 3, 2012
Messages
22,302
Reaction score
11,723
First Language
English
Primarily Uses
RMVXA
I know that I knew this once, but I can't find my note.

How do I identify which actor is using an item so that I can deduct MP/TP from that actor?

Thanks.
 

TheoAllen

Self-proclaimed jack of all trades
Veteran
Joined
Mar 16, 2012
Messages
6,052
Reaction score
7,140
First Language
Indonesian
Primarily Uses
RMVXA
Single target item:
Just use formula a.tp (or mp) -= n

Multi-target item
v[99] = a.actor.id; <formula or leave at 0 if you don't want to use formula>
It assigns the actor's id in variable 99, for maybe to be used in the common event, idk I'm not familiar with common event usage for item/skill.

I'm not sure if this was in your note.
 
  • Like
Reactions: Kes

Latest Threads

Latest Profile Posts

When someone helps you solve a problem, it's good to report the thread so it can be closed, but it's also nice to go back and post in the thread to let them know their suggestion actually worked. And, you know, to say thanks for helping.
Yes, I made made my profile picture into a poorly edited fat cat
TextBox like JRPG (Retro):
halloween_test_img.png
Memory of a Halloween party.
Studying more game mechanics and game design... If someone have some tips, I would be happy to read!

Forum statistics

Threads
108,907
Messages
1,040,543
Members
141,362
Latest member
blackstarrpheonix
Top