Guest User

Untitled

a guest
May 20th, 2012
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.49 KB | None | 0 0
  1. col = createColSphere( -2001.1999511719, 100, 27.10000038147, 12 )
  2. tor = createObject( 968, -2001.3000488281, 96.599983215332, 27.200000762939, 0, 0, 270 )
  3.  
  4. function opentor( )
  5. moveObject( tor, 2000, -2001.3000488281,96.599983215332, 27.200000762939, 0, 270, 0 )
  6. end
  7. addEventHandler( "onColShapeHit", col, opentor )
  8.  
  9.  
  10. function closetor( )
  11. moveObject( tor, 2000, -2001.3000488281, 96.599983215332, 27.200000762939 0, 90, 0 )
  12. end
  13. addEventHandler( "onColShapeLeave", col, close )
Advertisement
Add Comment
Please, Sign In to add comment