Results 1 to 4 of 4

Thread: .\scripts\Voice.lua:168: attempt to index global 'date'(nil)

  1. #1
    Join Date
    Oct 2001
    Location
    Earth
    Posts
    555

    Default .\scripts\Voice.lua:168: attempt to index global 'date'(nil)

    why ?
    this happens when treescript is enabled - I enable voice, and use the speech action...

  2. #2
    Join Date
    May 2004
    Location
    Cardigan, UK
    Posts
    9,278

    Default

    Ah, that's interesting, Voice UI.lua is trying to load a precompiled script but the Voice.lua file seems to be present too (or is that just in my install?)

    You could try adding the following line to the plugins\treescript\Voice UI.lua file :-
    Code:
    require('date')
    --Rob

  3. #3
    Join Date
    Oct 2001
    Location
    Earth
    Posts
    555

    Default

    yup - that fixed it.

    strange . I could call Voice:Speak(xxx,x) before, and it worked just fine...

    now I have to add this commend .. strange...

  4. #4
    Join Date
    Dec 2001
    Posts
    11,560

    Default

    fixed for next release

Posting Permissions

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