Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How to refer to Configuration.StringValue

Asked by 10 years ago

I'm trying to make a P4ssword door using Configuration object. Here's the brick and it's children: Door.Configuration.Word ("Word" is a StringValue) ...and... Door.Script

How do I have this line: if (msg == "message") then ...refer to the StringValue inside Configuration?

2 answers

Log in to vote
0
Answered by 10 years ago

You can access the StringValue object's Value property like any other property. It is a string.

0
I tried (msg = script.Parent.Configuration.Word.Value) but it won't work. DaichiTheHedgehog 0 — 10y
0
That's how you would do it, so you might have a problem somewhere else. User#11893 186 — 10y
0
(msg = "message") DOES work fine, so I don't know what the problem is. Should I post the full script? DaichiTheHedgehog 0 — 10y
0
Are you sure there are no errors in the output? User#11893 186 — 10y
View all comments (2 more)
0
I don't know, the new studio updates make my studio crash when I press Play. Gtg. DaichiTheHedgehog 0 — 10y
0
Look into installing the REMS into your game, so you can see errors in online mode. http://www.roblox.com/Remote-Error-Monitoring-System-item?id=65774258 User#11893 186 — 10y
Ad
Log in to vote
0
Answered by 4 years ago

boomer

Answer this question