|
| 27 Jan 2012 10:29 PM |
The first: .Changed isn't working. I'm using it on a boolean value, and it worked the first time but now it is unresponsive.
function onDeploy(val) print("deploy") print(val) end script.Parent.Deploy.Changed:connect(onDeploy)
-------------- The first time I ran the above, it worked fine but then I ran it again and it didn't work, and it hasn't worked again yet (even after deleting the script and boolean and trying new ones.
2nd: I think Roblox messed up the rotate feature in studio, can anyone else confirm this? The new rotate gui with the large cframe circles has selectable boxes but they don't seem to want to be selected. |
|
|
| Report Abuse |
|
|
|
| 27 Jan 2012 10:31 PM |
| did u set the bool value to 'true' or 'false' or did you set the bool to 'not bool' |
|
|
| Report Abuse |
|
|
| |
|
| |
|
|
| 27 Jan 2012 10:40 PM |
use this:
bool.Value = not bool.Value |
|
|
| Report Abuse |
|
|
|
| 27 Jan 2012 10:41 PM |
| @Free, you obviously dont understand the problem, it's a logical error, not a syntax error. the output only shows syntax errors because they cant read your mind :/ |
|
|
| Report Abuse |
|
|
|
| 27 Jan 2012 10:44 PM |
No, blue, that didn't work
Here's the output from when it worked ---------- deploy true deploy false deploy true ----------
I was just changing the status of the boolean from true to false and back in the properties panel Now with the same exact code (and yes, the server and script are running), there is no output. I'm pretty sure this is a Roblox error, not a logical one on my part |
|
|
| Report Abuse |
|
|
|
| 27 Jan 2012 10:46 PM |
| Did you click the green play button then the reset one at any point? There is a glitch where events stop working after you reset it the first time. Try restarting studio. |
|
|
| Report Abuse |
|
|
|
| 27 Jan 2012 10:51 PM |
That's strange I did do that once maybe but it affects test servers as well? Thanks for the tip Also do you know about the rotate feature? |
|
|
| Report Abuse |
|
|
|
| 27 Jan 2012 10:56 PM |
| are they adding rotatable GUIs :D? |
|
|
| Report Abuse |
|
|
|
| 27 Jan 2012 10:58 PM |
script.Parent.Deploy.Changed:connect(function(Value) if Value~="Boolean" then return end print("Deploy value="..Value) end)
I don't see what the problem is though. Try that. What does it do? |
|
|
| Report Abuse |
|
|
|
| 27 Jan 2012 10:58 PM |
Yes, a very good improvement over the old movement-axis rotation GUI, but it looks like it isn't working yet. Wouldn't be a problem since I can just rotate with the command line, but I want to rotate a model... |
|
|
| Report Abuse |
|
|
|
| 27 Jan 2012 11:01 PM |
Well use Brick.CFrame = CFrame.new(0,0,0)*CFrame.Angles(0,0,0) |
|
|
| Report Abuse |
|
|