Jump to content

Frozia

Members
  • Posts

    7
  • Joined

  • Last visited

Frozia's Achievements

Newbie

Newbie (4/54)

0

Reputation

  1. The cursors is bigger than custom. Did you apply the click events for this size ?
  2. I use DirectX Render Target to do that.
  3. I dont think so because I can use the variables like objects[1].posX, Just I cant use the functions and I need use it. Oh I solved the problem.I use "setmetatable(object, Texture2D_class);" after getElementData. Thanks for all.
  4. local objects = getElementData(scene,"objects") table.insert(objects,object); setElementData(scene,"objects",objects) outputDebugString(tostring(objects[1]:PositionX(5))) -- Outputs: 5 (as I want) objects = getElementData(scene,"objects") outputDebugString(tostring(objects[1]:PositionX(5))) -- Outputs: 'PositionX' is nil
  5. Oh no, It's defined and works excellent. There is just a problem with set/getElementData
  6. Hey everyone, I'm trying to do something.But I have some errors.I cant store a class with setElementData. local objects = getElementData(scene,"objects") table.insert(objects,object); setElementData(scene,"objects",objects) outputDebugString(tostring(objects[1]:PositionX(5))) -- it works objects = getElementData(scene,"objects") outputDebugString(tostring(objects[1]:PositionX(5))) -- but it doesnt work. What is the problem ? Element is correct. I know it because I'm using it in clientRender.
×
×
  • Create New...