Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --http://www.youtube.com/watch?v=Eq27GOX71TU
- mech = peripheral.wrap("right") --Attach robot controller
- mechX, mechY, mechZ = mech.getLocation(1) -- find OpenMech's location
- player = mech.getPlayerData(1, "remorsless") -- Get info on player
- mech.lookAt(1, player.position.x + mechX, player.position.y + mechY, player.position.z + mechZ) --get mech to look at player
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement