Page 1 of 1

How to spawn and setup a receptor ?

Posted: Mon Nov 11, 2013 2:30 am
by Faerghail
Hi all,

I would like to spawn a receptor that is activated by a blob, and link it to a trapdoor that will close if the receptor is hit by the blob.

Here is the script i use . it spawns the receptor, but it doesnt close the trapdoor :

function spawnrecep()

spawn("deep_temple_receptor",4,18,10,3,"receptor_blob")
receptor_blob:setEntityType("blob")
receptor_blob:addConnector("activate","blob_pit","close")

end


Need help please :)

Re: How to spawn and setup a receptor ?

Posted: Mon Nov 11, 2013 12:05 pm
by Faerghail
Ok i just found why it doesnt work and it seems not to be a script problem.

I wanted to close a secret door and spawn the receptor on it. But apparently a receptor works only if put on a dungeon wall.