https://youtu.be/mTkSqOZgYro
Code: Select all
startHeight = 0
dir = 0
posY = -1
function risingbuilding()
local spinner = findEntity("mausoleum_stairs_down_3")
if posY < startHeight then
posY = posY + 0.002
spinner:setPosition(script_entity_78.x, script_entity_78.y, dir, posY, script_entity_78.level)
end
end
https://youtu.be/YvP8WzlJX08
But I have no idea how to, I tried changing posY into posX, doesn't work offcourse and the ship keeps floating upwards instead of horizontally. I'm out of ideas Help!
Code: Select all
startHeight = -1
dir = 0
posX = 0
function shipmove1()
local spinner = findEntity("sx_ship_rear_hull_2")
if posX > startHeight then
posX = posX + 0.002
spinner:setPosition(script_entity_131.x, script_entity_131.y, dir, posX, script_entity_131.level)
end
end
It's just for visual from a distance, no need to walk on it or savestate compatibility or any other interaction.