alakazard12, on 03 April 2013 - 01:15 PM, said:
Did you not read my full post? I know everything about how coroutine works, BUT NOT pullEVENT, learn to read.
Wow your risking it. talking to a moderator like that.
We can all read, and from what we are reading, you don't know how to use coroutines. and if you actually look at the code that I posted before you will read that the os.pullEvent is not even anywhere in the coroutine code, the parameters returned from it are given to the coroutine to process, but that is it. really you don't even need the pullEvent there, if you're coroutine is always doing the exact same thing you could have this
function resume()
coroutine.resume(routineForSomething, 'doThis', doThat, 5, 6, 8) -- do this is a string, do that a function pointer, the rest are numbers...
end
although i don't ever see a reason why you would need a coroutine to do stuff with hard coded values, but hey, some people might have some ideas.
EDIT: It just occurred to me that you may be meaning that you actually have no idea what so ever what os.pullEvent and os.pullEventRaw actually do. so in that case I ask you, what was even the point of posting that it was a bug in coroutines in the "Bugs" section of the forums, instead of just asking here in the "Ask a Pro" section what the pullEvents are?
And in the event that you do not know what it is, I will give you
this link to the wiki
Edited by theoriginalbit, 03 April 2013 - 03:40 PM.