TheoAllen

Self-proclaimed jack of all trades
Veteran
Joined
Mar 16, 2012
Messages
6,118
Reaction score
7,285
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,305
Reaction score
11,731
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,118
Reaction score
7,285
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

Shiro-chan

Friendly Neighbourhood Neppy Maid
Veteran
Joined
Aug 7, 2018
Messages
164
Reaction score
48
First Language
German
Primarily Uses
RMVXA
I need a conditional-scriptcall based on what BGM is currently playing based on its name. For
example, if BGM "Theme1" is playing, then the scriptcall asking for "IF BGM Theme1 is playing" should be resulting in TRUE. How would I do that?
 

Latest Threads

Latest Posts

Latest Profile Posts

Time to wear a new face again...

Should keep things interesting huh? @EpicFILE :p
unknown.png

Been feeling that my characters spent too much time exploring caves, so I figured it was time to explore abandoned keeps instead.
Did you had some minor hitches with RMMZ? Come report to my topic where I did the same! [Just another rant from a RM veteran + Suggestions and Solutions] All opinions are welcome!
Squashing some bugs before releasing plugin :LZScool:The testing phase is taking more time than what I expected...

Forum statistics

Threads
110,329
Messages
1,052,382
Members
143,368
Latest member
indecisivesidekick
Top