Waypoint file - keyboardPress(VK_SPACE); problem
Posted: Thu Mar 24, 2011 4:10 am
I have a problem with using this code inside waypoint section (not using outside or inside waypointS so that's not the issue)
I use this function:
It doesn't work says:
Shouldn't it say #2 if it takes 2 args?
I'm going to try with (VK_SPACE,null) and (null,VK_SPACE) now but i doubt it'll work
If any1 knows what this isue's about please help.
Thanks.
I use this function:
Code: Select all
<!-- # 1 --><waypoint x="2690" z="1857" y="723">keyboardPress(VK_SPACE); </waypoint>
<!-- # 2 --><waypoint x="2729" z="1550" y="1023"> </waypoint>
<!-- # 3 --><waypoint x="2716" z="1440" y="970"> </waypoint>
<!-- # 4 --><waypoint x="2895" z="1423" y="654">keyboardPress(VK_SPACE); </waypoint>
<!-- # 5 --><waypoint x="3065" z="1433" y="591"> </waypoint>Does it take 2 args, and why does it interpret VK_SPACE as arg2 if there's no arg1, confused a bit.bad argument #1 to "keyboardPress" <<null>>
Shouldn't it say #2 if it takes 2 args?
I'm going to try with (VK_SPACE,null) and (null,VK_SPACE) now but i doubt it'll work
If any1 knows what this isue's about please help.
Thanks.