PDA

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



AlCapone
January 16th, 2006, 01:07 PM
why ?
this happens when treescript is enabled - I enable voice, and use the speech action...

Rob H
January 16th, 2006, 01:28 PM
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 :-


require('date')

AlCapone
January 16th, 2006, 01:46 PM
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...

Promixis
January 16th, 2006, 04:59 PM
fixed for next release