Search found 5 matches
- Mon Dec 22, 2014 10:06 am
- Forum: Mod Creation
- Topic: Ask a simple question, get a simple answer
- Replies: 3955
- Views: 3195403
Re: Ask a simple question, get a simple answer
I'm encountering a really strange oddity. whenever I set an essence onto a beacon whose height is lower than zero, the essence doesn't properly adjust its height to that of the beacon and instead floats at a height of zero. Is there an easy way to change it's position after it's placed?
- Mon Dec 22, 2014 8:50 am
- Forum: Mod Creation
- Topic: Ask a simple question, get a simple answer
- Replies: 3955
- Views: 3195403
Re: Ask a simple question, get a simple answer
That worked perfectly, thanks for the help! I do have another question: function openNorthGates() if NorthGate.onInsertItem(NorthGate, "essence_balance_1") then north_gate1.door:open(); north_gate2.door:open(); else north_gate1.door:close(); north_gate2.door:close(); end end For some reas...
- Mon Dec 22, 2014 8:32 am
- Forum: Mod Creation
- Topic: Ask a simple question, get a simple answer
- Replies: 3955
- Views: 3195403
Re: Ask a simple question, get a simple answer
To show that I have been learning something about lua along the way. If NorthGate is your beacon then: function openNorthGate() if NorthGate.socket:getItem() then northgate1.door:open() northgate2.door:open() end end Sockets normally only take a single item like a torch (they are not like altars an...
- Mon Dec 22, 2014 7:28 am
- Forum: Mod Creation
- Topic: Ask a simple question, get a simple answer
- Replies: 3955
- Views: 3195403
Re: Ask a simple question, get a simple answer
Hell all, I was wondering if there was a method to spawn a beacon holding it's particular element? I know that in LoG1 to make some assets act like an alcove it required a little dirty work, but since the beacons can already hold particular objects, I believe all that would be needed is to spawn it...
- Mon Dec 22, 2014 5:08 am
- Forum: Mod Creation
- Topic: Ask a simple question, get a simple answer
- Replies: 3955
- Views: 3195403
Re: Ask a simple question, get a simple answer
Hey all, I was wondering if there was a method to spawn a beacon holding it's particular element? I know that in LoG1 to make some assets act like an alcove it required a little dirty work, but since the beacons can already hold particular objects, I believe all that would be needed is to spawn it o...