Change attribute type from integer to real?

Hi all,
I have mistakenly created a heap of attributes as integers, used them in a heap of places throughout my game and now (during testing) realise that these in fact need to be attributes of the type real.
Is there any way I can change it? Going to take me a week to do it manually as if I create a new attribute with the same name and then delete the integer one, it isn't recognized in my game logic!!!!
Sam
I have mistakenly created a heap of attributes as integers, used them in a heap of places throughout my game and now (during testing) realise that these in fact need to be attributes of the type real.
Is there any way I can change it? Going to take me a week to do it manually as if I create a new attribute with the same name and then delete the integer one, it isn't recognized in my game logic!!!!
Sam
Comments
cheers
Gotta turn that negative into a positive! You'll get it done faster than you think you will. Good luck!
So use a t own risk. (make a backup at least)
When you right click your project choose see package contents.
There you find all sorts of XML files and other files and folders. Open one of these files, depending on if it is an actor attribute or a game attribute in for example dream weaver.
Then do a search on the name of your attribute(s).
Left and right of the name you see something like <real> and <\real> you can change these to integer. When you save, close andclose the package folder, and then op the project you Willard the attributes have changed.
I am on my iPhone now so some of the above info might be of.
If someone knows if this is a stupid thing to do please let me know.
I will not be offended.
Cheers,
Ludwig
Lump Apps and My Assets