Jump to content


Elouj

Member Since 15 Jan 2009
Offline Last Active Aug 10 2012 10:19 PM

Posts I've Made

In Topic: disappearing sprites

05 April 2012 - 02:36 AM

Hmm, it might be highjacking the obj_money_control's draw event, might not be though. Sorry I do not have a whole lot of experience with D&D, try changing it to perform the action on itself but for the value make it obj_money_control.mortgagecalc and see if that does anything.

In Topic: disappearing sprites

04 April 2012 - 10:36 PM

Hopefully I will. Also, if you find that option, do not enable it, it makes mysterious problems appear constantly with no warning or error message. If you have perfect syntax and photographic memory then you may be able to get by without problems while it is enabled, but it is just bad practice to enable it anyway. Basically it makes all mistyped variables and variables that should not exist equal 0 which can lead to alot of frustrations as it no longer reports when something is not doing what you meant it to do.

In Topic: disappearing sprites

04 April 2012 - 10:26 PM

I figured it would not until the issue was fixed. You did not enable the option to treat uninitialized variables as zero did you? NaN means Not a Number, a form of not applicable, it happens when you try to perform a mathematical equation with something that is not a number, or that results in something that is not a valid number. Are you absolutely certain that the money and mortgage are numbers and not strings? If they are "money" then they would be a string.

In Topic: Unknown variable id

04 April 2012 - 05:17 PM

I tried that but it did not add the id to the string for some reason the first couple times I tried it that way, strangely now it does, I guess that solves my problem, someday I want to know why there was a problem in the first place, and why just using string(child) did not work, yet now does. Thank you for getting me to try it again just in case.

In Topic: disappearing sprites

04 April 2012 - 05:01 PM

Try (money/mortgage)*100, or money/(mortgage*100) whichever you intended, it probably will not fix it, but it might cause it to give a more accurate reading once it is fixed. I do not remember what NaN means, but I would think it would mean something similar to unknown, or not applicable. Sorry I do not remember right now.