Talk:Function Dump/Coroutine Manipulation

From Legacy Roblox Wiki
Jump to navigationJump to search

Whoah whoah WHAOH! "What is this 'There is no way to run two things at once in RBX.Lua." WHAT IS THIS? HELLO? ANYONE ELSE SEE A PROBLEM? - Quenty (talk • January 14)

Technically you cannot have more than one thing running at the exact same time, no. You can have multiple threads going, but they'll still take turns. Or at least that's what I have heard. Someone ask xLEGOx or Anaminus, they'll know! Though I think that we shouldn't put that on the wiki page about using coroutines. --Samacado 20:13, 13 January 2012 (EST)
Yea, you can't run two coroutines at once in roblox.lua since they all take turns (via wait() or ending the function) Legend26 (talk | contribs) 20:55, 13 January 2012 (EST)
What about Spawn() or Delay()? Also, that notice is misleading. It should be changed. - Quenty (talk • January 14) :P
I put that there because Scripting Helpers people always ask about it and people claim that you can. I have to explain that you can't and why you can't. Change it all if you like, but at least give them the right idea. I understand the concern (I understood it when I edited it), but I don't people being given the wrong idea D:. I'd recommend a smaller (because I agree that mine was obnoxious) notice. Something explained in section of a brief definition of couroutines (because that was also asked about in SH). Something as simple as, "Coroutines don't run at the same time, but they take turns and can switch faster than you can notice."
(Merlin11188 | Send Message | E-mail |Wiki Writer) — 02:53, January 14, 2012 - UTC

good a place as any to ask

anyone know where the template for code lua is? wanna change it to be more readable. --Samacado 20:16, 13 January 2012 (EST)

also, I think I got rid of all the few remaining times that people made use of pre for code examples. anyone wanna double check? --Samacado 20:39, 13 January 2012 (EST)
It's a plugin as far as I know, there's no template I think. Legend26 (talk | contribs) 20:55, 13 January 2012 (EST)
I'm fairly certain it's an extension for the <code> tag. I changed it all in my edit. Which you undid to remove one box.
(Merlin11188 | Send Message | E-mail |Wiki Writer) — 02:54, January 14, 2012 - UTC
I found the extension for it. Also, sorry, hope I didn't offend you or something in that. --Samacado 21:55, 13 January 2012 (EST)
It's okay. I was offended because you denied the entire thing, which I thought was unnecessary. At least you're nice enough to recognize that I was offended. +10 respect points.
(Merlin11188 | Send Message | E-mail |Wiki Writer) — 02:58, January 14, 2012 - UTC