Waypoint file - keyboardPress(VK_SPACE); problem

Runes of Magic/Radiant Arcana (http://www.runesofmagic.com)
Post Reply
Message
Author
User avatar
Tsutomu
Posts: 77
Joined: Thu Mar 24, 2011 1:50 am

Waypoint file - keyboardPress(VK_SPACE); problem

#1 Post by Tsutomu » 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:

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>
It doesn't work says:
bad argument #1 to "keyboardPress" <<null>>
Does it take 2 args, and why does it interpret VK_SPACE as arg2 if there's no arg1, confused a bit.
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.
Attachments
VK_SPACE.JPG

JackBlonder
Posts: 99
Joined: Sat Dec 18, 2010 6:55 am

Re: Waypoint file - keyboardPress(VK_SPACE); problem

#2 Post by JackBlonder » Thu Mar 24, 2011 4:20 am

Wiki says

Code: Select all

keyboardPress( key.VK_SPACE );
http://www.solarstrike.net/wiki/index.p ... boardPress

User avatar
Tsutomu
Posts: 77
Joined: Thu Mar 24, 2011 1:50 am

Re: Waypoint file - keyboardPress(VK_SPACE); problem

#3 Post by Tsutomu » Thu Mar 24, 2011 4:25 am

Jesus, embarrasing.
Thank you, and excuse for the trouble.

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot], Bing [Bot] and 3 guests