Posted 05 April 2014 - 05:42 PM
SOLVED!
Alright
So I have several programs that I want to compile into 1 installer.
Some of them require advanced computers, some do not.
I already have the installer (along with automatic github updating) all set up. What I want to do now is be able to tell if the computer that the program is running on is advanced or normal. If it's a normal computer, it will only allow normal options, and it will use arrow key input, but if it's an advanced computer it will allow both and use MOUSE input…
So, how do I detect what type of computer the program is running on? Could somebody give a little bit of a sample code, like
Alright
So I have several programs that I want to compile into 1 installer.
Some of them require advanced computers, some do not.
I already have the installer (along with automatic github updating) all set up. What I want to do now is be able to tell if the computer that the program is running on is advanced or normal. If it's a normal computer, it will only allow normal options, and it will use arrow key input, but if it's an advanced computer it will allow both and use MOUSE input…
So, how do I detect what type of computer the program is running on? Could somebody give a little bit of a sample code, like
local tof = <code to detect advanced computer>
if tof == <value> then
-- Run code for advanced
else
-- Run normal code.
end
or something like thatEdited on 05 April 2014 - 04:00 PM