Jump to content
  • 0

Moving an Object


sego

Question

I have an objects ID and i can use getPos.  I need to use call BIS_fnc_findSafePos;  to find a new location and then how can i set that position to that object.  I need that change to happen while the game is running and now after a restart.

Link to comment
Share on other sites

6 answers to this question

Recommended Posts

  • 0

Can you give a bit more context on what it is you are trying to do? 

 

Best example of explaining what BIS_fnc_findSafePos do can be found here: http://tactical.nekromantix.com/wiki/doku.php?id=arma2:scripting:bis_fnc_findsafepos

 

Now, depending on what you are actually trying to do, you may find that using BIS_fnc_findSafePos might not suit your purpose. 

Link to comment
Share on other sites

  • 0

I'm guessing you're trying to move an object, just go to the position you want in game, log out to lobby, write down your character's worldspace from the database, wait till next restart. Paste the worldspace into whatever object you want and it will be exactly where you logged out, including the direction you're facing.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Advertisement
  • Discord

×
×
  • Create New...