-- LUA Script - precede every function and global member with lowercase name of script + '_main' -- Doormover script - raises a gate....in the entity you want to use set to -- static = no and -- Physics on = no and -- always active = yes -- add in the gatemover.lua and thats about it....you can adjust the distance -- from the player for opening and the height it raises to..farther opening = higher lift. -- Have fun..............................fynetynefella function gatemover_init(e) end function gatemover_main(e) PlayerDist = GetPlayerDistance(e) if (PlayerDist < 300 ) and g_PlayerHealth > 0 then CollisionOff(e) MoveUp(e,200) Prompt("The Gate is now Open") CollisionOn(e) end end