SHARE
TWEET

Urealms-Tile Spinning room.

macd4066 Dec 29th, 2017 73 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.         object1_GUID='c2a280'
  2.         object2_GUID='b37abf'
  3.         object3_GUID='8c2352'
  4.         object4_GUID='757ef7'
  5.         object5_GUID='d6c409'
  6.         object6_GUID='9d51b0'
  7.         object7_GUID='fb3c4c'
  8.         object8_GUID='b3163e'
  9.         object9_GUID='e3dd56'
  10.         object10_GUID='60873a'
  11.         object11_GUID='808e0d'
  12.         object12_GUID='e6acb8'
  13.         object13_GUID='977a22'
  14.         object14_GUID='802277'
  15.         object15_GUID='cf9d42'
  16.         object16_GUID='c5126f'
  17.         checker_GUID='c4cbd7'
  18.  
  19.         button_parameters = {}
  20.         button_parameters.click_function = 'buttonClicked'
  21.         button_parameters.function_owner = nil
  22.         button_parameters.label = 'Rotate'
  23.         button_parameters.position = {0,0.8,0}
  24.         button_parameters.rotation = {0,0,0}
  25.         button_parameters.width = 500
  26.         button_parameters.height = 500
  27.         button_parameters.font_size = 100
  28.  
  29.         rotation_group = {object1, object2}
  30.        
  31. function onLoad()
  32.         object1 = getObjectFromGUID(object1_GUID)
  33.         object2 = getObjectFromGUID(object2_GUID)
  34.         object3 = getObjectFromGUID(object3_GUID)
  35.         object4 = getObjectFromGUID(object4_GUID)
  36.         object5 = getObjectFromGUID(object5_GUID)
  37.         object6 = getObjectFromGUID(object6_GUID)
  38.         object7 = getObjectFromGUID(object7_GUID)
  39.         object8 = getObjectFromGUID(object8_GUID)
  40.         object9 = getObjectFromGUID(object9_GUID)
  41.         object10 = getObjectFromGUID(object10_GUID)
  42.         object11 = getObjectFromGUID(object11_GUID)
  43.         object12 = getObjectFromGUID(object12_GUID)
  44.         object13 = getObjectFromGUID(object13_GUID)
  45.         object14 = getObjectFromGUID(object14_GUID)
  46.         object15 = getObjectFromGUID(object15_GUID)
  47.         object16 = getObjectFromGUID(object16_GUID)
  48.  
  49.         checker = getObjectFromGUID(checker_GUID)
  50.        
  51.         checker.createButton(button_parameters)
  52. end
  53.  
  54. function buttonClicked()
  55.  
  56.     object1.rotate({0,90,0})
  57.     object2.rotate({0,90,0})
  58.     object3.rotate({0,90,0})
  59.     object4.rotate({0,90,0})
  60.     object5.rotate({0,90,0})
  61.     object6.rotate({0,90,0})
  62.     object7.rotate({0,90,0})
  63.     object8.rotate({0,90,0})
  64.     object9.rotate({0,90,0})
  65.     object10.rotate({0,90,0})
  66.     object11.rotate({0,90,0})
  67.     object12.rotate({0,90,0})
  68.     object13.rotate({0,90,0})
  69.     object14.rotate({0,90,0})
  70.     object15.rotate({0,90,0})
  71.     object16.rotate({0,90,0})
  72.  
  73.    
  74. end
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top