20 posts
Posted 06 July 2012 - 04:25 PM
Hi, Im working on making a clock on my server in a computer layout involving 6 monitors in the form of two rows of three. i have no clue how to adjust the font. Can anyone help me to find out where to start?!
1604 posts
Posted 06 July 2012 - 04:35 PM
Monitors have a method called setScale or something like that, it gets a number between 1 and 5.
Example:
local monitor = peripheral.wrap("<side>")
monitor.setTextScale(3) -- set the text scale to 3
EDIT: just checked, the method is setTextScale
20 posts
Posted 07 July 2012 - 12:22 AM
Alright i typed in the code along with print("Test") and it says the first line is incorrect "attempt to call nil".
heres what is exactly typed
local monitor = peripheral.warp("right")
monitor.setTextScale(3)
print("Test")
and when i run the program it says
(programname):1: attempt to call nil
I am a terrible programmer. very noobish. so can you explain to me what i did wrong… thanks.
1604 posts
Posted 07 July 2012 - 01:04 AM
It's peripheral.wrap, not warp.
20 posts
Posted 07 July 2012 - 01:09 AM
I feel like a fool…
Thanks :P/>/>