HELP! Long to Real? |
Soumis par Lord Shleepy le Lun, 2007-08-20 15:21
SE:V MODs
Ok...this is driving me crazy. Is there ANY way to change a "long" value into a "real" value in the SE5 scripting language?
I need to add a "long" value to a "real" value, which doesn't sound like it should be so hard - an integer plus a real will just give you another real afterall - but I can't find a way to make it happen!
Or...as an alternative...is there a way to generate a random "real" value?
» Vous devez vous identifier ou créer un compte pour écrire des commentaires

Re: HELP! Long to Real?
Soumis par crimson le Lun, 2008-01-28 13:10
Hi how would you go from real to long.
He ponders the dangers inherent in the advantages, and advantages inherent in the dangers. - Ts'ao Ts'ao
Crimson
» Vous devez vous identifier ou créer un compte pour écrire des commentaires

Re: HELP! Long to Real?
Soumis par Captain Kwok le Lun, 2008-01-28 13:15
» Vous devez vous identifier ou créer un compte pour écrire des commentaires





Re: HELP! Long to Real?
A workaround?
set real_variable := long_variable * 1.0
-----
Space Empires Depot | SE:V Balance Mod