SetPosition

Post » Sun Nov 18, 2012 7:14 pm

Why this function doesn't work?
i wrote Ship.SetPosition(100.0,100.0,-400.0) but my ship doesn't change the position, where do i wrong?
User avatar
Daniel Holgate
 
Posts: 3538
Joined: Tue May 29, 2007 1:02 am

Post » Sun Nov 18, 2012 6:58 pm

Is the Ship Property correctly filled? Also, this might not work with a Static (at least console SetPos commands don't work on Statics), I would recommend using an Activator as the base object type for your ship.
User avatar
GEo LIme
 
Posts: 3304
Joined: Wed Oct 03, 2007 7:18 pm

Post » Sun Nov 18, 2012 5:58 pm

Is the Ship Property correctly filled? Also, this might not work with a Static (at least console SetPos commands don't work on Statics), I would recommend using an Activator as the base object type for your ship.
Name of the ship "ShipLargeKatariah01", can you explain me how to use activator?
User avatar
jessica breen
 
Posts: 3524
Joined: Thu Aug 03, 2006 1:04 am

Post » Sun Nov 18, 2012 7:37 am

Create a new Activator object and point it to the ship model.

Note that you might also need to extract the ship NIF model file from the Meshes BSA to change some havok related settings in it to have the collision update to the new location as well.
User avatar
Rowena
 
Posts: 3471
Joined: Sun Nov 05, 2006 11:40 am

Post » Sun Nov 18, 2012 4:43 pm

Create a new Activator object and point it to the ship model.

Note that you might also need to extract the ship NIF model file from the Meshes BSA to change some havok related settings in it to have the collision update to the new location as well.
Okay, thank you
User avatar
Assumptah George
 
Posts: 3373
Joined: Wed Sep 13, 2006 9:43 am


Return to V - Skyrim