azure Posted October 12, 2009 Author Share Posted October 12, 2009 Ok so I was wondering how can I make the Battle Messages that are shown at the bottom of pic screen on the client appear in the chat box instead. I don't see any particular code that controls where the text is shown. I'll double check since I just had a thought as I wrote this, but some help would be great. Link to comment Share on other sites More sharing options...
Ruins of Hell Posted October 12, 2009 Share Posted October 12, 2009 Call PlayerMsg (index, "Hey!", RED) Link to comment Share on other sites More sharing options...
azure Posted October 12, 2009 Author Share Posted October 12, 2009 Wait so Have it call Playermsg instead of BattleMsg? Link to comment Share on other sites More sharing options...
Ruins of Hell Posted October 12, 2009 Share Posted October 12, 2009 Yes. Link to comment Share on other sites More sharing options...
Kimimaru Posted October 12, 2009 Share Posted October 12, 2009 Also, make sure you remove the "0's" and "1's" in the syntax of the BattleMsgs. They control where the messages appear on the game screen. That's not needed in a PlayerMsg, though. Link to comment Share on other sites More sharing options...
azure Posted October 12, 2009 Author Share Posted October 12, 2009 Well I get a Fail cookie and a Face palm then. :D that's a really easy fix. Thanks guys. Link to comment Share on other sites More sharing options...
anasky Posted October 15, 2009 Share Posted October 15, 2009 Uhh, you say it's easy.Mind explaining how you 'easily' changed every single Call BattleMsg into Call PlayerMsg without messing up the Sub BattleMsg? Link to comment Share on other sites More sharing options...
Kimimaru Posted October 15, 2009 Share Posted October 15, 2009 Press CTRL + F. Then, click the "Replace" button. Type in "Call BattleMsg" in the search bar but don't do anything yet. Now, in the box that has "Replace With" or something similar to that above/next to it, type in "Call PlayerMsg." You can check the box that replaces all of the terms, but you don't have to. All you have to do now is click "Replace," and it will replace everything for you. You may have to change the syntax by yourself, though, because the **BattleMsg** has an extra parameter. Link to comment Share on other sites More sharing options...
anasky Posted October 16, 2009 Share Posted October 16, 2009 I ment the syntax you mentioned xDYou've got to find every BattleMsg (which you already changed in PlayerMsg, uggh) and then change the syntax… Link to comment Share on other sites More sharing options...
azure Posted October 16, 2009 Author Share Posted October 16, 2009 I did just as Kimimaru said, I used the find feature and read through every use of BattleMsg and changed it to PlayerMsg, making sure to take out the placer 1's and 0's at the end. It actually didn't take very long since it's all server side anyways. Then I changed the messages to suit my needs. Now it kind of looks like your talking to yourself.And even if I had fudged that up, which I didn't, I keep a backup rar so it would have been as easy as delete/replace/retry. Link to comment Share on other sites More sharing options...
anasky Posted October 16, 2009 Share Posted October 16, 2009 If you say so, I'll believe you.Have a nice day at eclipse. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now