Jump to content
mattaust

Nearest Building Undetected on one of my Houses?

Recommended Posts

Hello all,

 

I am using _near = nearestbuilding player; hint str _near;  

 

to detect house models so that way I know that people can use them for scripting purposes.

 

Although one of my double story houses which uses a separate config comes up as <NULL OBJECT> when I execute it in debug.

 

And my smaller residential buildings comes up with the .p3d file as being detected.

 

What is the cause of this? They are basically using the same config and they have the exact same property names in the model.

 

The houses base class is House_F: House for both buildings in separate configs.

 

Ideas?

 

Cheers, Matt.

Share this post


Link to post
Share on other sites

Ok let me try my buildings that are placed on the Australia map to see if it causes the same issue.

 

I've been testing it on runtime with the VR map.

Share this post


Link to post
Share on other sites

Aside: In that 'older' game, this command doesn't detect the Takistan airbase control tower either.

Share this post


Link to post
Share on other sites

Exactly same issue, same buildings detectable others that are not, same config structure, properties name, on the Aussie map.

 

Oh well -.-

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×