Jump to content

Sign in to follow this  
thecoolsideofthepillow

Using Pre-Placed Buildings?

Recommended Posts

I want to use nearly every building placed on Altis; however, I do not wish to manually go in and place markers or items manually, I wish for random things to be placed inside them based on triggers.

Could I use "House_F" as the class name to generate items in all buildings that fall under that category, or would I need to use individual class names (like Land_Slum_House01_F)?

Share this post


Link to post
Share on other sites
/*
Parents ["House_Small_F","House_F","House","HouseBase","NonStrategic","Building","Static","All"]
Retrieve a list of some houses within 1000m of an object
*/

_nearestHouses = nearestObjects [objName, ["House_F"], 1000];
hint format ["%1", _nearestHouses];

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
Sign in to follow this  

×