Talk:RBX.lua.Hint (Object): Difference between revisions

From Legacy Roblox Wiki
Jump to navigationJump to search
>Artha14
No edit summary
 
>Mindraker
m Talk:RBX.Lua.Hint (Object) moved to Talk:RBX.lua.Hint (Object)
 
(24 intermediate revisions by 6 users not shown)
Line 1: Line 1:
'''changing text:'''
'''changing text:'''
how do i make hints that change every few seconds? its been bugging me on how and im woundering if its a script. is it? please help. [[user:artha14]]
how do i make hints that change every few seconds? its been bugging me on how and im woundering if its a script. is it? please help. [[user:artha14]]
That would be a script. Seeing as how this isn't a scripting page, you'd be better looking for a script that changes something every few seconds, then just changing the something into a hint. ---[[User:Mr Doom Bringer|Mr Doom Bringer]] 16:53, 12 March 2008 (CDT)
== >_> ==
I'll go ahead and tell you. When you define a hint, like a message, you define the Parent and Text. To make the hint change, simply change the text. Ex:
    local hint = Instance.new("Hint")
    hint.Parent = game.Workspace
    while true do
    hint.Text = "TEXT"
    wait(2)
    hint.Text = "TEXT2"
    wait(2)
    hint.Text = "TEXT3"
    wait(2)
    end
--[[User:JustinP231|JustinP231]] 17:22, 12 March 2008 (CDT)
Now, what you just did was give the answer to him, just like today's school system. Instead of lettim him figure it out on his own like you probably did, you're giving the answer, meaning that he doesn't learn anything. ---[[User:Mr Doom Bringer|Mr Doom Bringer]] 14:45, 13 March 2008 (CDT)
== >_< ==
Sorry... Guess that's true... But, I don't think most people today want to bother with learning... >_> It's a bit sad, actually...
--[[User:JustinP231|JustinP231]] 15:24, 13 March 2008 (CDT)

Latest revision as of 15:57, 26 August 2008

changing text: how do i make hints that change every few seconds? its been bugging me on how and im woundering if its a script. is it? please help. user:artha14

That would be a script. Seeing as how this isn't a scripting page, you'd be better looking for a script that changes something every few seconds, then just changing the something into a hint. ---Mr Doom Bringer 16:53, 12 March 2008 (CDT)

>_>

I'll go ahead and tell you. When you define a hint, like a message, you define the Parent and Text. To make the hint change, simply change the text. Ex:

    local hint = Instance.new("Hint")
    hint.Parent = game.Workspace
    while true do
    hint.Text = "TEXT"
    wait(2)
    hint.Text = "TEXT2"
    wait(2)
    hint.Text = "TEXT3"
    wait(2)
    end

--JustinP231 17:22, 12 March 2008 (CDT)

Now, what you just did was give the answer to him, just like today's school system. Instead of lettim him figure it out on his own like you probably did, you're giving the answer, meaning that he doesn't learn anything. ---Mr Doom Bringer 14:45, 13 March 2008 (CDT)


>_<

Sorry... Guess that's true... But, I don't think most people today want to bother with learning... >_> It's a bit sad, actually... --JustinP231 15:24, 13 March 2008 (CDT)