mirror of
https://github.com/ineedbots/iw5_bot_warfare.git
synced 2025-04-26 07:34:50 +00:00
Fallen wps complete
This commit is contained in:
parent
f069eb35df
commit
c9bc56dc65
@ -289,7 +289,7 @@ updateWaypointsStats()
|
|||||||
wait 0.05;
|
wait 0.05;
|
||||||
intTimer += 50;
|
intTimer += 50;
|
||||||
|
|
||||||
totalWpsHud setText( level.waypointCount );
|
totalWpsHud setValue( level.waypointCount );
|
||||||
|
|
||||||
closest = -1;
|
closest = -1;
|
||||||
myEye = self getEye();
|
myEye = self getEye();
|
||||||
@ -339,13 +339,13 @@ updateWaypointsStats()
|
|||||||
|
|
||||||
self.nearest = closest;
|
self.nearest = closest;
|
||||||
|
|
||||||
nearestWP setText( self.nearest );
|
nearestWP setValue( self.nearest );
|
||||||
|
|
||||||
children setText( buildChildCountString( self.nearest ) );
|
children setValue( buildChildCountString( self.nearest ) );
|
||||||
|
|
||||||
type setText( buildTypeString( self.nearest ) );
|
type setText( buildTypeString( self.nearest ) );
|
||||||
|
|
||||||
wpToLink setText( level.wpToLink );
|
wpToLink setValue( level.wpToLink );
|
||||||
|
|
||||||
infotext.x = infotext.x - 2;
|
infotext.x = infotext.x - 2;
|
||||||
|
|
||||||
@ -840,9 +840,9 @@ DeleteAllWaypoints()
|
|||||||
buildChildCountString ( wp )
|
buildChildCountString ( wp )
|
||||||
{
|
{
|
||||||
if ( wp == -1 )
|
if ( wp == -1 )
|
||||||
return "";
|
return -1;
|
||||||
|
|
||||||
wpstr = level.waypoints[wp].children.size + "";
|
wpstr = level.waypoints[wp].children.size;
|
||||||
|
|
||||||
return wpstr;
|
return wpstr;
|
||||||
}
|
}
|
||||||
|
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user