Universal Message System (Edit of SE character System)
#1
This is an absolutely amazing script. I'm currently working on cloning the shining force engine, and this allows me to almost perfectly clone the message system. :D

I do have a request, if anyone script savvy could help. Having installed the script, I've noticed that the sound-upon-type plays for every character that is entered. I was looking at the script, and I know that I want to exclude spaces from the sound, but have no idea how to translate that into code.

Code:
while @ignore
        c = @text.slice!(/./m)
        if c != nil
          write_char(c)
        end
      end
      if @pause_time > 0
        @pause_time -= 1
        return
      end
      if Graphics.frame_count - @count >= speed
        if $game_system.sound_effect != ""
      ****** if c != " " ******
          Audio.se_play("Audio/SE/" + $game_system.sound_effect, 50, 100)
          end
        end
        @count = Graphics.frame_count
        c = @text.slice!(/./m)
        if c != nil
          write_char(c)
        end
      end
      return
    end

The asterisked line is my feeble attempt to acquire what i wanted, but i don't understand ruby script at all, despite numerous attempts to grasp it. Any help would be appreciated.
Reply }


Possibly Related Threads…
Thread Author Replies Views Last Post
   ACBS - Atoa Custom Battle System and TP System zlsl 2 4,567 10-20-2021, 05:09 AM
Last Post: zlsl
   I want to add an Atoa Custom Battle System command cut-in. zlsl 11 13,882 11-11-2019, 08:55 PM
Last Post: DerVVulfman
   Question about ACBS (Atoa Custom Battle System) aeliath 10 12,756 08-08-2019, 02:50 PM
Last Post: aeliath
   (RMVXace) Battle error with Tankentai's battle system, help. x( Starmage 0 3,910 02-14-2018, 04:25 PM
Last Post: Starmage
   Problems with counteraatack addon of Atoa Custom Battle System Djigit 22 35,446 01-05-2017, 08:05 PM
Last Post: Noctis
   Custom Message by Hodgeelmf, need to make it above picture LunarBerry 6 11,010 05-09-2016, 01:15 AM
Last Post: LunarBerry
   Atoa Custom Battle System: Popup when status change Noctis 6 10,624 02-01-2016, 12:52 AM
Last Post: Noctis
   Atoa Custom Battle System CTB animation while cast Noctis 6 10,704 01-04-2016, 03:05 PM
Last Post: Noctis
   How do I ask wheiter he finished the script call? in a herbalism system Eagleeye1990 3 6,332 10-06-2014, 10:19 PM
Last Post: greenraven
   little Edit of the cursor world map system Djigit 3 6,523 08-24-2014, 02:31 AM
Last Post: Djigit



Users browsing this thread: 1 Guest(s)