Outpost Universe Forums
Projects & Development => Outpost 2 Programming & Development => Topic started by: Sirbomber on January 25, 2010, 04:08:55 PM
-
I get the feeling this has been asked and answered before, but my searches can't find anything...
Anyways, I want to use a PlayerBuildingEnum to find all of a player's buildings and then spawn a permavortex on them because I'm an evil, evil person. :evil laugh:
It's the "find the location" part I'm having trouble with... any suggestions?
-
unit blah;
while (PlayerBlightEnum.getNext blah blah blah)
{
location LOCATIONFOOL = blah.location;
int XFOOL = blah.location.x;
int YFOOL = blah.location.y;
}
-
Thanks! I'm sure nobody else will be too happy about this though!
-
I'm all for torturing people, especially when they like to rush in games, lol
-
You mean there actually is an easy way to return the coordinates of an existing object? (unit or building at least... would be nice if it included mining beacons and the like)
:CK9's:
I never came across it...