Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » Get nearest building to an object? (How to get the nearest building to a gameobject)
Re: Get nearest building to an object? [message #467873 is a reply to message #467685] Thu, 24 May 2012 07:16 Go to previous messageGo to previous message
Jerad2142 is currently offline  Jerad2142
Messages: 3813
Registered: July 2006
Location: USA
Karma:
General (3 Stars)
iRANian wrote on Tue, 22 May 2012 07:33

Commands->Find_Nearest_Building(GameObject*) should work.


Does that get it by the controller or by the mesh? I assume it gets it by the controller, which could be incorrect if someone didn't put the controllers on the buildings themselves, or if you're standing on the far end of the airstrip runway.


 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Can the SP maps be played in MP?
Next Topic: Random map Rotation???
Goto Forum:
  


Current Time: Thu Dec 26 10:12:46 MST 2024

Total time taken to generate the page: 0.00674 seconds