|
| 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 |
|
|
| |
|
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 |
|
|
|
| 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
|
  |
| Joined: 07 Oct 2010 |
| Total Posts: 7073 |
|
| |
|
|
| 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
|
  |
| Joined: 07 Oct 2010 |
| Total Posts: 7073 |
|
|
| 10 Sep 2012 06:52 PM |
| (Love how he's stalking all my posts!) |
|
|
| Report Abuse |
|
|
|
| 10 Sep 2012 06:53 PM |
I was just helping him? Wow.
- New siggy, mamaguy is a buthurt noob :D |
|
|
| Report Abuse |
|
|
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 |
|
|
|
| 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
|
  |
| 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 |
|
|
|
| 10 Sep 2012 07:06 PM |
| But I thought this was roblox lua? :( |
|
|
| Report Abuse |
|
|
mamaguy
|
  |
| Joined: 07 Oct 2010 |
| Total Posts: 7073 |
|
|
| 10 Sep 2012 07:08 PM |
@Bobby RBX.Lua Also, it was a comparison. |
|
|
| Report Abuse |
|
|
|
| 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 |
|
|