Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 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 3,695 10-20-2021, 05:09 AM
Last Post: zlsl
   I want to add an Atoa Custom Battle System command cut-in. zlsl 11 11,758 11-11-2019, 08:55 PM
Last Post: DerVVulfman
   Question about ACBS (Atoa Custom Battle System) aeliath 10 10,780 08-08-2019, 02:50 PM
Last Post: aeliath
   (RMVXace) Battle error with Tankentai's battle system, help. x( Starmage 0 3,454 02-14-2018, 04:25 PM
Last Post: Starmage
   Problems with counteraatack addon of Atoa Custom Battle System Djigit 22 31,252 01-05-2017, 08:05 PM
Last Post: Noctis
   Custom Message by Hodgeelmf, need to make it above picture LunarBerry 6 9,711 05-09-2016, 01:15 AM
Last Post: LunarBerry
   Atoa Custom Battle System: Popup when status change Noctis 6 9,095 02-01-2016, 12:52 AM
Last Post: Noctis
   Atoa Custom Battle System CTB animation while cast Noctis 6 9,465 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 5,631 10-06-2014, 10:19 PM
Last Post: greenraven
   little Edit of the cursor world map system Djigit 3 5,784 08-24-2014, 02:31 AM
Last Post: Djigit



Users browsing this thread: