Euflorium: The Eufloria Community
Eufloria => Eufloria Classic => Eufloria Classic Support => Topic started by: annikk.exe on December 28, 2010, 03:11:32 AM
-
I'm having problems with the "GetFlower()" command.
-- do we have a flower?
flower = checkedroid:GetFlower(checkedroid.owner)
if checkedroid.owner > 1 then
flower:Pluck()
flower:PlantOnRandomDysonTree()
end
It does not seem to return a flower if the flower is still attached to the tree. :<
So it seems like there is still no way to return a flower that has grown on a tree through probability rather than scripting, and pluck it.
Once the flower is plucked, "checkedroid:GetFlower()" works fine, and correctly returns the flower.
But how to refer to a flower that is still on the tree, in order to pluck it?
Anyone know?
Is this a bug?
-
Try calling GetSuperSeedling() on a tree - if there's one growing it should give you a reference to it, whether it is a mine or a flower. Confusingly, internally the mines and flowers are called "SuperSeedlings" even though the in-game super seedlings are just powered up regular seedlings.
-
Thanks! Will give this a try. :>
-
Alex, you're a genius. :> It works!