Page 1 of 1

addtorch()

Posted: Sat Jun 01, 2013 5:59 pm
by schnipfl
I'm trying to make a hidden pressure plate, that activates a torch.

I tried to connect the hidden pressure plate with a script.
The script says:

function torch1()

torch_holder_1:addtorch()

end

It doesn't work at all.. it says sth. about a nil value..
Please halp meeehhh D:

Re: addtorch()

Posted: Sat Jun 01, 2013 6:25 pm
by Xanathar
If I remember correctly it's addTorch with a capital T.

Re: addtorch()

Posted: Sat Jun 01, 2013 7:53 pm
by schnipfl
Thanks alot! :))

Re: addtorch()

Posted: Sat Jun 01, 2013 8:44 pm
by Mal85
Aww, nothing like code :)