generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripting Helpers
Home Search
 

Re: Using Dialog Chat

Previous Thread :: Next Thread 
thedeathmaster01 is not online. thedeathmaster01
Joined: 14 Mar 2010
Total Posts: 6331
10 Sep 2012 05:58 PM
Please help! How do I have a part chatting randomly with a blue dialog box over it. I have tried and read from this wiki article: http://wiki.roblox.com/index.php/Chat_(Method) but it still confuses me.

This is what I have in a Part:

while true do
Chat(script.Parent, "Hello!", color = Red)
wait()
end
Report Abuse
thedeathmaster01 is not online. thedeathmaster01
Joined: 14 Mar 2010
Total Posts: 6331
10 Sep 2012 06:07 PM
b u m p
Report Abuse
mamaguy is not online. mamaguy
Joined: 07 Oct 2010
Total Posts: 7073
10 Sep 2012 06:10 PM
game:GetService("Chat"):Chat(game.Workspace.Part, "Hello!" Enum.ChatColor = 2)
?
Forgot the exact Enum thing, but that should work.
Report Abuse
thedeathmaster01 is not online. thedeathmaster01
Joined: 14 Mar 2010
Total Posts: 6331
10 Sep 2012 06:13 PM
Ok, I'll try. Instead of game.Workspace.Part, can I just put this script into a part and use script.Parent?
Report Abuse
mamaguy is not online. mamaguy
Joined: 07 Oct 2010
Total Posts: 7073
10 Sep 2012 06:20 PM
Yea
Report Abuse
BobbyisLOLZ is not online. BobbyisLOLZ
Joined: 17 Aug 2010
Total Posts: 8045
10 Sep 2012 06:51 PM
Yep, it's easier to use script.Parent for anything if the script is inside the brick, unless you made a variable like..

x = game.Workspace.Part

Then it would be easier to just say x.
Report Abuse
mamaguy is not online. mamaguy
Joined: 07 Oct 2010
Total Posts: 7073
10 Sep 2012 06:52 PM
(Love how he's stalking all my posts!)
Report Abuse
BobbyisLOLZ is not online. BobbyisLOLZ
Joined: 17 Aug 2010
Total Posts: 8045
10 Sep 2012 06:53 PM
I was just helping him? Wow.

- New siggy, mamaguy is a buthurt noob :D
Report Abuse
mamaguy is not online. mamaguy
Joined: 07 Oct 2010
Total Posts: 7073
10 Sep 2012 06:57 PM
You're going onto my posts and trying to find the simplest thing I didn't add,
Also, what if this part is not named 'Part' but 'Test' or something? I wouldn't want to give him a non-working script :C
Report Abuse
BobbyisLOLZ is not online. BobbyisLOLZ
Joined: 17 Aug 2010
Total Posts: 8045
10 Sep 2012 06:58 PM
Hmm, I think if they saw the variable, wouldn't it be common sense to change the name? You should think.

- New siggy, mamaguy is a buthurt noob :D
Report Abuse
mamaguy is not online. mamaguy
Joined: 07 Oct 2010
Total Posts: 7073
10 Sep 2012 07:04 PM
@Bobby,
If I gave you this:
import java.awt.FlowLayout;
import java.awt.event.ActionListener;
import java.awt.event.ActionEvent;
import javax.swing.JFrame;
import javax.swing.JTextField;
import javax.swing.JOptionPane;
import java.awt.*;
import javax.swing.*;
public class Main extends JFrame {
public static void main(String[] arg){
JFrame Main = new JFrame();
Main.setTitle("Test");
Main.setLayout(null);
Main.setBounds(50, 80, 1800, 900);
Main.setVisible(true);
Main.setResizable(false);
Container config = getContentPane();
config.setBounds(50, 50, 2000, 100);
config.setVisible(true);
config.setLayout(null);
config.setBackground(Color.black);
}
}
Would it be common sense to change the variable to you or anyone else that doesn't know Java?
No.
Or just this part of Java, like how death is working on the Chat service.
Report Abuse
BobbyisLOLZ is not online. BobbyisLOLZ
Joined: 17 Aug 2010
Total Posts: 8045
10 Sep 2012 07:06 PM
But I thought this was roblox lua? :(
Report Abuse
mamaguy is not online. mamaguy
Joined: 07 Oct 2010
Total Posts: 7073
10 Sep 2012 07:08 PM
@Bobby
RBX.Lua
Also, it was a comparison.
Report Abuse
XxChopSlaperxX is not online. XxChopSlaperxX
Joined: 09 Nov 2010
Total Posts: 3112
10 Sep 2012 07:09 PM
Java is weird since I have no idea what's wat

public static void main(crap[] crap)
^
||
||

Makes it so other classes can use it??

thats all I get
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image