RPG Maker Forums

Hi

I should mention first that I don't really know RGSS, but I understand programming structure enough to know what it going on.

The Script I used was, with bits of help from here and there, but mainly here http://hikimoki.sakura.ne.jp/html/rgss_memo_0.html. I couldn't find anywhere that had exactly what I was looking for, unless it meant adding blocks and blocks of script.

I added:

i = $game_variables[5]

item = $data_items

$game_party.gain_item(item,1)

$game_variables[6] = item.name

-to a common event with a sound effect, a Self switch A and the Text: Found \C[4]\V[6]\C[0]!

 

Then create an Event with  Control Variable no. 5 and assign it the item number (as listed in the items database), and a call to the above common event.

 

It works fine...

 

item.PNG

 

...but is it the best way to do this?

 

 

I was trying to free up variable 6 by using:

$game_message.add("Found #{item.name}")but I could not figure out how to make the item highlighted a different colour like above. The \ control characters don't work the same here, hence why I used variable 6.

 

If this could have been done better or easier, please tell me.

Thanks

Latest Threads

Latest Posts

Latest Profile Posts

Don't forget, aspiring writers: Personality isn't what your characters do, it is WHY they do it.
Hello! I would like to know if there are any pluggings or any way to customize how battles look?
I was thinking that when you start the battle for it to appear the eyes of your characters and opponents sorta like Ace Attorney.
Sadly I don't know how that would be possible so I would be needing help! If you can help me in any way I would really apreciate it!
The biggest debate we need to complete on which is better, Waffles or Pancakes?
rux
How is it going? :D
Day 9 of giveaways! 8 prizes today :D

Forum statistics

Threads
106,047
Messages
1,018,540
Members
137,834
Latest member
EverNoir
Top