Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- col = createColSphere( -2001.1999511719, 100, 27.10000038147, 12 )
- tor = createObject( 968, -2001.3000488281, 96.599983215332, 27.200000762939, 0, 0, 270 )
- function opentor( )
- moveObject( tor, 2000, -2001.3000488281,96.599983215332, 27.200000762939, 0, 270, 0 )
- end
- addEventHandler( "onColShapeHit", col, opentor )
- function closetor( )
- moveObject( tor, 2000, -2001.3000488281, 96.599983215332, 27.200000762939 0, 90, 0 )
- end
- addEventHandler( "onColShapeLeave", col, close )
Advertisement
Add Comment
Please, Sign In to add comment