I just read it, and did the Hello World thing from the "Quick, a Full Example" section. I noticed I had to change the code from $version: 3.7
to
$version: 3.10
it worked, but it gives me an error every time I load the game. Also, 3.7? Can't someone update the guide?
#Conditional Hooks
$Version: 3.6.10
$On Splash Screen:
[
--Set the color to white
Graphics.setColor(255, 255, 255)
--Write "Hello, world!"
Graphics.drawString("Hello, world!", 5, 10)
]
+Override: YES
#End
Error:
<UNKNOWN>: Argument 11 is an invalid type 'nil'; boolean expected
------------------------------------------------------------------
ADE Debug:
------------------------------------------------------------------
Name: (null)
Name of: (null)
Function type: (null)
Defined on: 0
Upvalues: 0
Source: (null)
Short source:
Current line: 0
------------------------------------------------------------------
------------------------------------------------------------------
LUA Stack:
------------------------------------------------------------------
1: Userdata [Audio]
2: Userdata [Base]
3: Userdata [CFile]
4: Userdata [Controls]
5: Userdata [Graphics]
6: Userdata [HookVariables]
7: Userdata [Mission]
8: Userdata [Tables]
9: Userdata [Testing]
10: Function
11: NIL
------------------------------------------------------------------