Hello. I am trying to use MiscPeripherals compass add-on, and the teleporters. But if I try to use getFacing() or teleport() they don't work. Suggestions?
MiscPeripherals problem.
Started by Trikk, May 11 2013 08:51 PM
5 replies to this topic
#1
Posted 11 May 2013 - 08:51 PM
#2
Posted 11 May 2013 - 09:03 PM
Why not post this in the actual MiscPeripherals thread....? Even the Ask a Pro section would probably be acceptable. Not to mention you provide pretty much no info about your issue. Stating that something does not work will not help anyone fix your problem.
#3
Posted 11 May 2013 - 11:01 PM
I don't know what else to say... I try to type teleport() and it says attempt to call nil. Like the function isnt even there. Same thing with getFacing().
#4
Posted 11 May 2013 - 11:45 PM
Trikk, on 11 May 2013 - 11:01 PM, said:
I don't know what else to say... I try to type teleport() and it says attempt to call nil. Like the function isnt even there. Same thing with getFacing().
Are you wrapping the peripheral and calling it like this:
local yourPeripheral = peripheral.wrap("<side>")
yourPeripheral.teleport(1, 2, 3) --Or whatever arguments teleport takes
Please provide the exact code you are using to produce this, otherwise we can't help you.
#5
Posted 12 May 2013 - 10:04 PM
Oh. that's what I forgot. I feel stupid now. Anyways. On another note, do I have to link the teleporters each time I start my world? because it seems like it.
#6
Posted 12 May 2013 - 10:34 PM
Trikk, on 12 May 2013 - 10:04 PM, said:
Oh. that's what I forgot. I feel stupid now. Anyways. On another note, do I have to link the teleporters each time I start my world? because it seems like it.
I personally don't use the teleporters so I'm not sure. You could take this up with the mod author though if no info is provided on his peripheral page. Seems to me like they should remain linked, but then again I didn't write the peripheral.
2 user(s) are reading this topic
0 members, 2 guests, 0 anonymous users











