deselect problem fix

Post Reply
eraldo
Posts: 43
Joined: Sun Jul 12, 2009 1:25 am

deselect problem fix

Post 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

User avatar
Heiko
Site Admin
Posts: 1548
Joined: Wed Mar 11, 2009 6:26 pm

Re: deselect problem fix

Post by Heiko »

There is no inbuilt deselect function anymore.

eraldo
Posts: 43
Joined: Sun Jul 12, 2009 1:25 am

Re: deselect problem fix

Post by eraldo »

What is the intended way to go then?

Post Reply