
Does anyone have any insight on what could cause a crash like this? There don't appear to be any other crashes or issues during normal play.
Code: Select all
spawn("castle_wall_bookshelf_01", level_index, herei, herej, bookcase_facing, 0, bookcase_ID)
vector = findEntity(bookcase_ID):getWorldPosition()
vector[2] = vector[2] - 0.45
findEntity(bookcase_ID):setWorldPosition(vector)