mirror of
https://github.com/ineedbots/iw2_bot_warfare.git
synced 2025-10-12 12:59:03 +00:00
small link and wpeditor
This commit is contained in:
@@ -705,27 +705,37 @@ destroyOnDeath( hud )
|
|||||||
{
|
{
|
||||||
hud endon( "death" );
|
hud endon( "death" );
|
||||||
self waittill_either( "death", "disconnect" );
|
self waittill_either( "death", "disconnect" );
|
||||||
hud destroy();
|
|
||||||
|
if ( isdefined(hud) )
|
||||||
|
{
|
||||||
|
hud destroy();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
textScroll( string )
|
textScroll( string )
|
||||||
{
|
{
|
||||||
self endon( "death" );
|
self endon( "death" );
|
||||||
self endon( "disconnect" );
|
self endon( "disconnect" );
|
||||||
// thanks ActionScript
|
|
||||||
|
|
||||||
/*back = createbar( ( 0, 0, 0 ), 1000, 30 );
|
text = newclienthudelem( self );
|
||||||
back setpoint( "CENTER", undefined, 0, 220 );
|
|
||||||
self thread destroyOnDeath( back );
|
|
||||||
|
|
||||||
text = createfontstring( "default", 1.5 );
|
|
||||||
text settext( string );
|
|
||||||
self thread destroyOnDeath( text );
|
self thread destroyOnDeath( text );
|
||||||
|
|
||||||
|
text.font = "default";
|
||||||
|
text.fontscale = 1.5;
|
||||||
|
text.alignx = "center";
|
||||||
|
text.aligny = "middle";
|
||||||
|
text.horzalign = "center";
|
||||||
|
text.vertalign = "middle";
|
||||||
|
text.y = 220;
|
||||||
|
// cod2 only allows localized strings...
|
||||||
|
text settext( &"PLATFORM_PRESS_TO_SPAWN" );
|
||||||
|
|
||||||
for ( ;; )
|
for ( ;; )
|
||||||
{
|
{
|
||||||
text setpoint( "CENTER", undefined, 1200, 220 );
|
text.x = 1200;
|
||||||
text setpoint( "CENTER", undefined, -1200, 220, 20 );
|
text moveovertime( 20 );
|
||||||
|
text.x = -1200;
|
||||||
|
|
||||||
wait 20;
|
wait 20;
|
||||||
}*/
|
}
|
||||||
}
|
}
|
||||||
|
@@ -15,16 +15,16 @@
|
|||||||
688.432 1560.28 2.67747,12 14,stand,16.2488 -90.6592 0,,
|
688.432 1560.28 2.67747,12 14,stand,16.2488 -90.6592 0,,
|
||||||
686.743 1271.12 32.125,13 15 27,stand,16.1554 -90.7526 0,,
|
686.743 1271.12 32.125,13 15 27,stand,16.1554 -90.7526 0,,
|
||||||
420.413 1233.17 32.125,14 16,stand,15.3204 178.583 0,,
|
420.413 1233.17 32.125,14 16,stand,15.3204 178.583 0,,
|
||||||
102.836 1235.09 2.13169,15 17,stand,5.76233 173.754 0,,
|
102.836 1235.09 2.13169,15 17 23,stand,5.76233 173.754 0,,
|
||||||
-149.283 1253.16 0.745125,16 18 22,stand,19.4073 -178.077 0,,
|
-149.283 1253.16 0.745125,16 18 22,stand,19.4073 -178.077 0,,
|
||||||
-280.648 1248.4 36.1911,17 19,stand,25.7135 100.624 0,,
|
-280.648 1248.4 36.1911,17 19,stand,25.7135 100.624 0,,
|
||||||
-299.174 1381.62 40.9798,18 20,stand,24.5105 172.271 0,,
|
-299.174 1381.62 40.9798,18 20,stand,24.5105 172.271 0,,
|
||||||
-578.246 1382.06 44.9136,19 21,stand,25.0653 -96.5973 0,,
|
-578.246 1382.06 44.9136,19 21,stand,25.0653 -96.5973 0,,
|
||||||
-596.25 1242.02 41.4588,20,stand,16.062 104.227 0,,
|
-596.25 1242.02 41.4588,20,stand,16.062 104.227 0,,
|
||||||
-131.326 1416.13 3.33408,17 23,stand,21.3519 19.8688 0,,
|
-131.326 1416.13 3.33408,17 23,stand,21.3519 19.8688 0,,
|
||||||
10.4335 1497.11 6.08899,22 24,stand,17.2705 160.005 0,,
|
10.4335 1497.11 6.08899,22 24 16 25,stand,17.2705 160.005 0,,
|
||||||
3.18074 1607.48 -6.89213,23 6 25 8,stand,17.4573 154.061 0,,
|
3.18074 1607.48 -6.89213,23 6 25 8,stand,17.4573 154.061 0,,
|
||||||
204.731 1630.97 -0.220104,24 26 9,stand,22.5604 2.8894 0,,
|
204.731 1630.97 -0.220104,24 26 9 23,stand,22.5604 2.8894 0,,
|
||||||
432.278 1629.7 0.323285,25 10,stand,24.4171 -60.3094 0,,
|
432.278 1629.7 0.323285,25 10,stand,24.4171 -60.3094 0,,
|
||||||
1057.08 1241.89 32.125,14 28 65,stand,17.1771 -3.16956 0,,
|
1057.08 1241.89 32.125,14 28 65,stand,17.1771 -3.16956 0,,
|
||||||
1266.22 1265.83 32.125,27 29,stand,14.1174 -12.6343 0,,
|
1266.22 1265.83 32.125,27 29,stand,14.1174 -12.6343 0,,
|
||||||
|
|
Reference in New Issue
Block a user