Hello,
I would like to ask if following this is possible to do without using MWSE. Basically I would like to make portable container. I created misc item that can be picked. And when placed into the world, I would like it to transform to container. I can simply create new instance of the container in the world and delete the instance of misc item, but problem is placing the container to the same spot where the misc item was.
Begin misc_item_scpt
short OnPCDrop
short myX
short myY
short myZ
if (GetDisabled )
setdelete 1
endif
if ( OnPCDrop )
set myX to GetPos, X
set myY to GetPos, Y
set myZ to GetPos, Z
set OnPCDrop to 0
PlaceAtPc "my_container" 1,0,0
Disable
endif
End
This is what I have.
So is it possible with only vanilla scripting? It is also necessarry to point out that there might be multiple instances of the misc item and multiple instances of the container.
Any help would be highly appreciated