Please login or register.

Xuras

Author Topic: Portalboat's "I need help with lua" thread  (Read 391 times)

Portalboat

  • Guest
Portalboat's "I need help with lua" thread
« on: 09 March, 2009, 02:09:46 am »
What does the function "for k, v in pairs" mean/do?

Offline Dotmister

  • Co-Founder
  • Global Administrator
  • Almost lives here
  • *****
  • Posts: 1,002
  • Cookies: 35
    • STEAM_0:0:12123040
    • View Profile
    • Adamncasey.co.uk

Portalboat

  • Guest
Re: Portalboat's "I need help with lua" thread
« Reply #2 on: 27 March, 2009, 22:02:05 pm »
What would the code look like if I wanted an object to get objects in a certain area around it, and then filter out those objects to a certain class (prop_physics, npc_alyx, etc.)?

 


SimplePortal 2.3.2 © 2008-2010, SimplePortal