SHARE
TWEET

Omni-Bot example script file (for N++ parsing)

Mateos Dec 15th, 2018 65 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. /*
  2.  * TODO:
  3.  *    - Something something.
  4.  */
  5.  
  6. global Map =
  7. {
  8.     Navigation =
  9.     {
  10.         jump =
  11.         {
  12.             navigate = function( _this )
  13.             {
  14.             },
  15.         },
  16.     },
  17.  
  18.     Roles =
  19.     {
  20.         AXIS = // Team
  21.         {
  22.             AllBots = true, // Each bot is considered for a role
  23.  
  24.             DEFENDER =
  25.             {
  26.                 voice = "Defending the Bridge!",    // Signals voice chat to randomly announce
  27.                 spawnpt = 2,                        // Users of this role will choose spawnpt 2
  28.                 numbots = 4,                        // Maximum of 4 bots
  29.                 //crucialClass = CLASS.FIELDOPS,      // First bot
  30.             },
  31.  
  32.             DEFENDER1 =
  33.             {
  34.                 voice = "Defending the Main Entrance!", // Signals voice chat to randomly announce
  35.                 spawnpt = 2,                            // Users of this role will choose spawnpt 2
  36.                 numbots = 4,                            // Maximum of 4 bots
  37.                 //crucialClass = CLASS.ENGINEER,          // First bot
  38.             },
  39.         },
  40.     },
  41.  
  42.     Axis_Bridge_Suicide =
  43.     {
  44.         Name = "Axis_Bridge_Suicide",
  45.         TriggerOnClass = CLASS.ANYPLAYER,
  46.         OnEnter = function( ent )
  47.         {
  48.         },
  49.     },
  50.  
  51.     Test0 =
  52.     {
  53.     },
  54.  
  55.     Test = function()
  56.     {
  57.     },
  58.  
  59.     Test2 = function( trigger )
  60.     {
  61.     },
  62. };
  63.  
  64. global OnMapLoad = function()
  65. {
  66. };
  67.  
  68. global OnBotJoin = function( bot )
  69. {
  70. };
  71.  
  72. global InitializeRoutes = function()
  73. {
  74. };
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top