Jump to content




2 targs ?


  • You cannot reply to this topic
1 reply to this topic

#1 jakemg

  • Members
  • 88 posts

Posted 18 June 2013 - 05:45 PM

Okay so i need an x number for how far it travels and why for the current Y coord the player is at
here is what i have for x
tArgs = { ... }
local x = tonumber(tArgs[1] or "")
while not x do
	    print("Need a distance to travel in number form")
	    x = tonumber(read())
end

but how do i do get a second targ

#2 Kingdaro

    The Doctor

  • Members
  • 1,636 posts
  • Location'MURICA

Posted 18 June 2013 - 06:47 PM

Think. If tArgs[1] gets the first argument, what would get the second?





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users