Jump to content

xmarker orientation question


Recommended Posts

OnLoad and Is3Dloaded are the elegant solution for spawning unloaded then aligning, sometimes simple brute force is OK as well.

 

Run your PlaceAtMe code, open the console and move the object to where you want using modpos, modangle then get their absolute final position with getangle, getpos and transfer to code:

ObjectReference WeaponREF = pXmarkerREF.PlaceAtme(pUniqueWeapon, 1, false, false, true) ; disabled
WeaponREF.SetPosition(0.0, 0.0, 0.0) ; fill in the absolute XYZ
WeaponREF.SetAngle(0.0, 0.0, 0.0) ; fill in the absolute XYZ
WeaponREF.Enable()
Edited by SKK50
Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...