Page 1 of 1

deselect problem fix

Posted: Mon Aug 17, 2009 11:15 am
by eraldo
I get an error when using deselect()
ERROR:Lua error:[string "function Trigger15()..."]:4: attempt to call global 'deselect' (a nil value)
My workaround:
I made the following script:

Code: Select all

function deselect()
    selectString("",1)
end
This overried the default deselect() function...
Works as intended now!

Hope that helps some of you.
Eraldo

Re: deselect problem fix

Posted: Mon Aug 17, 2009 3:47 pm
by Heiko
There is no inbuilt deselect function anymore.

Re: deselect problem fix

Posted: Tue Aug 18, 2009 7:18 pm
by eraldo
What is the intended way to go then?