Results 1 to 2 of 2

Thread: Wait(Variable)

  1. #1
    Join Date
    Apr 2017
    Location
    The Great White North
    Posts
    15
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default Wait(Variable)

    Is it possible to make the wait command accept a variable(s)?

    Such as: wait(Time); where Time: String;

    I have tried using Integer, String, and Extended. They don't seem to work so I must be doing something wrong!

    Thanks for all suggestions.

  2. #2
    Join Date
    Jun 2013
    Location
    Scranton
    Posts
    496
    Mentioned
    5 Post(s)
    Quoted
    220 Post(s)

    Default

    wait expects a 32 bit unsigned int, try
    Simba Code:
    wait(strToInt(stringVar));

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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