coverx = {} coverz = {} cover_true = {} --script to define an object as cover function this_is_cover_init(e) cover_true[e] = 1 CollisionOff(e) Scale(e,50) end function this_is_cover_main(e) CollisionOff(e) coverx[e] = g_Entity[e]['x'] coverz[e] = g_Entity[e]['z'] end