mirror of
https://github.com/ineedbots/iw4_bot_warfare.git
synced 2025-04-22 05:55:42 +00:00
wp editor
This commit is contained in:
parent
4d7a383de2
commit
bf86fb99f2
@ -8,6 +8,12 @@
|
||||
*/
|
||||
init()
|
||||
{
|
||||
if(getDvar("bots_main_debug") == "")
|
||||
setDvar("bots_main_debug", 0);
|
||||
|
||||
if(getDVarint("bots_main_debug"))
|
||||
return;
|
||||
|
||||
load_waypoints();
|
||||
thread hook_callbacks();
|
||||
|
||||
|
@ -1,12 +1,13 @@
|
||||
#include common_scripts\utility;
|
||||
#include maps\mp\_utility;
|
||||
#include maps\mp\gametypes\_hud_util;
|
||||
#include bots\bots_funcs;
|
||||
#include maps\mp\bots\_bot_utility;
|
||||
|
||||
init()
|
||||
{
|
||||
if(getDVarint("bots_main_debug"))
|
||||
{
|
||||
if(!getDVarint("bots_main_debug"))
|
||||
return;
|
||||
|
||||
if(!getDVarint("developer"))
|
||||
{
|
||||
setdvar("developer_script", 1);
|
||||
@ -30,7 +31,6 @@ init()
|
||||
level waittill( "connected", player);
|
||||
|
||||
player thread onPlayerSpawned();
|
||||
}
|
||||
}
|
||||
|
||||
onPlayerSpawned()
|
||||
|
4
userraw/scripts/bots_wp_editor.gsc
Normal file
4
userraw/scripts/bots_wp_editor.gsc
Normal file
@ -0,0 +1,4 @@
|
||||
init()
|
||||
{
|
||||
level thread maps\mp\bots\_wp_editor::init();
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user