Advertisement
Mouamle

Untitled

Jul 12th, 2015
524
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.52 KB | None | 0 0
  1. Door3 = createObject(980.6999511719,2667.6000976563,16.700000762939,1,0,0,90)
  2. setElementRotation (Door3, 0, 0, 90)
  3. markerDoor3 = createMarker(2815.6999511719,2667.8999023438,12.89999961853,'cylinder',10,0,0,0,0)
  4.  
  5. addEventHandler('onMarkerHit',markerDoor3,
  6. function ( hitElement )
  7. moveObject(Door3,1000,2815.6999511719,2667.6000976563,21.200000762939)
  8. end
  9. )
  10.  
  11. addEventHandler('onMarkerLeave',markerDoor3,
  12. function ( hitElement )
  13. moveObject(Door3,1000,2815.6999511719,2667.6000976563,16.700000762939)
  14. end
  15. )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement