-- LUA Script - precede every function and global member with lowercase name of script -- init when level first runs function ezplatform_test4_init(e) end function ezplatform_test4_main(e) if get_platform_from_name == nil then return end local p1 = get_platform_from_name("Belidos") if p1 ~= nil then local PlayerDist = GetPlayerDistance(p1) local Sequence = platform_status(p1) if Sequence == 1 and PlayerDist < 700 then platform_set_sequence(p1) return elseif Sequence == 5 then Prompt("Press E key") if g_KeyPressE == 1 then platform_set_sequence(p1) end end end end