Results 1 to 2 of 2

Thread: NetRemote.Sleep

  1. #1
    Join Date
    Apr 2006
    Location
    Munich
    Posts
    73

    Cool NetRemote.Sleep

    I would like to ask about the reason for the design of NetRemote.Sleep([delay]). The documentation states clearly that [delay] must be less or equal to 1999.

    Why? Any technical reasons? 1999 should be enough...?

    Worse, if [delay] happens to be > 1999, the corresponding statement is silently ignored, with no errors or warnings!

    Yes, I know how to write a LUA function that chops up a longer delay in chunks <= 1999, but... ??
    Last edited by Barf; July 1st, 2007 at 06:21 AM. Reason: added "less or equal" in second sentence.

  2. #2
    Join Date
    May 2002
    Location
    CT
    Posts
    6,559

    Default

    Sleep actually pauses NetRemote entirely. It won't let you sleep for longer than 2 seconds to ensure other messages get "processed" by NetRemote.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •