Jump to content
Sign in to follow this  
Gameadd1cted

HELP - Place a unit in the lighthouse

Recommended Posts

Hi,

I am trying to place the player in the lighthouse on Utes.

I am using this setPos (nearestBuilding this buildingPos PositionNumber) but I end up in an another place.

I tried positions from 1 to 6.

Can you help me please? I am really lost (no pun intended).

Share this post


Link to post
Share on other sites

Ok first of all the building indices start with 0.

Share this post


Link to post
Share on other sites

Try it with:

this setPos ((position this nearestObject 12345) buildingPos 0)

12345 is the objectID, and as said 0 is always the first building position, so when you have 3 building positions available they go from 0 - 2.

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  

×