Can someone help me?
I copied the scripts over to my game in the correct order, from the demo. Whenever I test play it though it gives me this error:
Script "Vampyr Keyboard" line 299: Runtime Error occurred.
GetProcAddress: InputInitialize or InputInitializeA
This is line 220, exactly as it is in the demo and in my game:
InputInitialize = Win32API.new("Input", 'InputInitialize', 'LLLLLL', '')
And just in case, here are some of the preceding and following lines:
Code:
module Input
@time = Array.new(256, 0)
@press = Array.new(256, false)
@trigger = Array.new(256, false)
@repeat = Array.new(256, false)
@release = Array.new(256, false)
@dirs = [0, 0]
InputInitialize = Win32API.new("Input", 'InputInitialize', 'LLLLLL', '')
InputUpdate = Win32API.new("Input", 'InputUpdate', '', '')
InputInitialize.call(@time.object_id, @press.object_id, @trigger.object_id,
@repeat.object_id, @release.object_id, @dirs.object_id)
I don't script and have no clue what that error means, would really appreciate any help, thanks.