Lighthorse Posted December 16, 2023 Share Posted December 16, 2023 Hi, I have a mod L-K_ships and I was wondering if there was an easy way of doing a script that, upon picking up a book and on read Spawn one of my ships in front of them. I am just guessing at how to do this and I keep trying to move stuff around but cant get it to work. I am hoping that a way can be done for 4 of my ships,(the LVL IV ships) one is listed below. For some reason, if I just set the ship at the location, and you find it, take off and use it all is fine, but if you quit the game in the ship, and come back into the game you are on the ground and have to reload your save. If spawn the ship in using Player.placeatme ######## there are no problems at all, save and all work perfictly, so I thought if you pick up a book that I leave on the ground, OnRead it spawns the ship in, all should be fine. Scriptname SQ_FindingTheGhostIV extends ObjectReference OnRead(SQ_FindingTheGhostIV==1) GetActorBase()=LShip_TheGhostIV GetFormID(LShip_TheGhostIV==1) LShip_TheGhostIV.ID==() Keyword Property (LShip_TheGhostIV) Keyword (StarbornGhostIVKeyword) ObjectReference Property SQ_GhostIV_HoldingCellMarker Auto Form Function (Placeatme.LShip_TheGhostIV) ObjectReference (LShip_TheGhostIV) (PlaceAtMe.LShip_TheGhostIV, 1, True) 'LShip_TheGhostIV' could instead be 'EncShip_MQ_GhostIV' both ID's will spawn the ship in using Player.placeatme ######### Link to comment Share on other sites More sharing options...
Recommended Posts