Euflorium: The Eufloria Community

Eufloria => Eufloria Classic => Eufloria Classic Mods => Topic started by: Mihhaelo on July 02, 2010, 10:44:17 AM

Title: CoreHealth query.
Post by: Mihhaelo on July 02, 2010, 10:44:17 AM
I would like to manually change the "health" of a planet throughout a game.

I know this can be done get GetAsteroid(x).CoreHealth = Number.

How do i retrieve the planets current CoreHealth though?
Title: Re: CoreHealth query.
Post by: annikk.exe on July 02, 2010, 04:45:32 PM
Use a variable.  Then you can call on it to check its value.


mycorehealth = whatever crazy maths you want to use

then,


GetAsteroid(x).CoreHealth = mycorehealth