Page 1 of 1

How to activate a spawner

Posted: Wed Oct 22, 2014 3:56 pm
by TardosMor
Hi 4 all!

I just want to know how to activate something, for example a spawner or a torch holder, because the LOG 1 syntax did not seem to work.

Example:

Code: Select all

Spawner_1:activate();
I get an error "attempt to call method "activate" (a nil value)".

But this one works fine, instead. :?

Code: Select all

catacomb_altar_candle_10_1:destroy();
I don't understand why.

Re: How to activate a spawner

Posted: Wed Oct 22, 2014 9:31 pm
by AdrTru
spawner_1.spawner:activate()

Re: How to activate a spawner

Posted: Wed Oct 22, 2014 10:34 pm
by TardosMor
Works perfect !
Thank you