mirror of
https://github.com/ineedbots/iw4_bot_warfare.git
synced 2025-04-21 21:45:43 +00:00
Merge branch 'master' of https://github.com/ineedbots/iw4x_bot_warfare
This commit is contained in:
commit
387ac82c86
@ -12,43 +12,43 @@ init()
|
|||||||
|
|
||||||
do_printconsole( s )
|
do_printconsole( s )
|
||||||
{
|
{
|
||||||
PrintConsole( s + "\n" );
|
printconsole( s + "\n" );
|
||||||
}
|
}
|
||||||
|
|
||||||
do_filewrite( file, contents, mode )
|
do_filewrite( file, contents, mode )
|
||||||
{
|
{
|
||||||
file = "scriptdata/" + file;
|
file = "scriptdata/" + file;
|
||||||
FileWrite( file, contents, mode );
|
filewrite( file, contents, mode );
|
||||||
}
|
}
|
||||||
|
|
||||||
do_fileread( file )
|
do_fileread( file )
|
||||||
{
|
{
|
||||||
file = "scriptdata/" + file;
|
file = "scriptdata/" + file;
|
||||||
return FileRead( file );
|
return fileread( file );
|
||||||
}
|
}
|
||||||
|
|
||||||
do_fileexists( file )
|
do_fileexists( file )
|
||||||
{
|
{
|
||||||
file = "scriptdata/" + file;
|
file = "scriptdata/" + file;
|
||||||
return FileExists( file );
|
return fileexists( file );
|
||||||
}
|
}
|
||||||
|
|
||||||
do_botaction( action )
|
do_botaction( action )
|
||||||
{
|
{
|
||||||
self BotAction( action );
|
self botaction( action );
|
||||||
}
|
}
|
||||||
|
|
||||||
do_botstop()
|
do_botstop()
|
||||||
{
|
{
|
||||||
self BotStop();
|
self botstop();
|
||||||
}
|
}
|
||||||
|
|
||||||
do_botmovement( forward, right )
|
do_botmovement( forward, right )
|
||||||
{
|
{
|
||||||
self BotMovement( forward, right );
|
self botmovement( forward, right );
|
||||||
}
|
}
|
||||||
|
|
||||||
do_botmeleeparams( yaw, dist )
|
do_botmeleeparams( yaw, dist )
|
||||||
{
|
{
|
||||||
self BotMeleeParams( yaw, dist );
|
self botmeleeparams( yaw, dist );
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user