I want to get the location of turrets but didn't find a function for this. There are functions for bases, squads, slag etc so I guess I just missed it. Do you know ?
How to get a buildings location ?
Started by LarkinVB, Feb 02 2005 01:58 PM
4 replies to this topic
#3
Posted 02 February 2005 - 04:44 PM
I want to count turrets near LPs like this
But there is no build_channel:GetPosition()
for build_channel in build_manager:GetBuildChannelAIs() do if self:IsTurret( build_channel:GetBlueprintID() ) and distance_sqr(build_channel:GetPosition(), strat_pos) < 200 then num_turrets = num_turrets + 1 end
But there is no build_channel:GetPosition()
Reply to this topic
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users