Jump to content
Sign in to follow this  
myles

How do you place people in bulidngs?

Recommended Posts

Whenever i try to put people in bulidings they always spawn on the roof how do you put them inside the building?

Share this post


Link to post
Share on other sites

Easiest: Give unit a waypoint exactly on the building (if done correctly you will not be able to drag-move the waypoint). Then if you double-click the waypoint you will have an option to choose a building position for the waypoint. The unit will move to that position.

More complicated: Use doMove with buildingPos and nearestBuilding or nearObjects. See my Moscow File coop pack for examples.

Share this post


Link to post
Share on other sites

Put a AI unit near some building, make a waipoint "MOVE" near that building, push the IDs button in the editor, put this in on activation field in waipoint:

House1=position this nearestObject 94933; this doMove (House1 buildingPos 4)

This number, 94933 is just example, you should put the ID of your building. BuildingPos is the position in the buliding... Try to experimente... ;) This command is fully funcional to me...

Share this post


Link to post
Share on other sites

Dude really? Look at the top of the page. There is a spot for mission editing in the forums. It says it in description.

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.
Sign in to follow this  

×