vargatom
-
Posts
27 -
Joined
-
Last visited
Reputation Activity
-
-
-
vargatom reacted to palota in ENTFLAG.CARRYINGGOAL
The chosen botToKill is never an engineer because botToKill has goal FLAG, but engineer has goal PLANT.
-
vargatom reacted to palota in ENTFLAG.CARRYINGGOAL
foreach(g in Util.GoalTable("FLAGRETURN.*")) { Util.MapDebugPrint("Position " + g.GetPosition()); }
-
vargatom reacted to palota in ENTFLAG.CARRYINGGOAL
It does not count dead players because dead players cannot carry anything. But you can get distance to a dropped object from a FLAGRETURN goal.
foreach(g in Util.GoalTable("FLAGRETURN.*")) { d = DistanceBetween(g, Vec3(-1824, 2115, 4)); Util.MapDebugPrint("Distance " + d); }
-
vargatom reacted to palota in ENTFLAG.CARRYINGGOAL
for ( i = 0; i < 64; i += 1 ) { if ( EntityIsValid(i) && GetEntFlags(i, ENTFLAG.CARRYINGGOAL) ){ d = DistanceBetween(i, Vector3(-1824, 2115, 4)); Util.MapDebugPrint("Distance " + d); } }