Eufloria > Eufloria Classic Support

ChangeOwner and/or Empire bugs

(1/1)

Mihhaelo:
As far as I can see, when GetAsteroid():ChangeOwner() is used in script, it doesn't update the information GetEmpire():GetNumOwnedAsteroids() returns.

Likewise, GetEmpire():GetRandomAsteroid() also fails.

Aino:
I don't use ChangeOwner()... I use .Owner = x :P

But the GetRandomAsteroid() fail is strange...

Alex:
You may need the game to run an update before that number is corrected... you may in fact be able to call the empire's update from the script so that the number gets updated.

Navigation

[0] Message Index

Go to full version