Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » Lua sleep()
Lua sleep() [message #450306] Fri, 29 July 2011 17:48 Go to previous message
Intradox is currently offline  Intradox
Messages: 60
Registered: February 2011
Location: United States
Karma:
Recruit
Hello, so I'm using the Lua Plugin v5.0 on my server, and I was wondering how/if its possible to make a sleep() function. I've found functions that do it, but they cause the entire program to sleep. So I was wondering if its possible to make one that doesn't make the entire program sleep, just the script? Or if it would be possible to achieve this with timers, because I want to wait x amount of seconds before I change the song that's being played. Like the music plugin from BRenBot.

I know this isn't DCOM's site, but the last post on there was in 2009 and my thread on there hasn't gotten a single view besides my own. So I asked here since I may get more help.

Thanks,
Intradox


Not pro enough at renegade to snipe.

[Updated on: Fri, 29 July 2011 18:08]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Lua. Answers.
Next Topic: What's the TFD Renegade registry path?
Goto Forum:
  


Current Time: Fri Dec 20 13:15:35 MST 2024

Total time taken to generate the page: 0.16428 seconds