Jump to content
  • 0

Simple Battleground Queue Error


nieloveyou

Question


  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  1
  • Reputation:   0
  • Joined:  02/20/20
  • Last Seen:  

Hello,

Could any one can  help me to fix the bg_create error, i don't know what is the problem.

script error on npc/_xxx/SBattlegroundQ3E/bg_domination.txt line 174
    script:add_word: invalid word. A word consists of undercores and/or alphanumeric characters, and valid variable prefixes/postfixes.
   169 : OnStart:
   170 :        .start = 1;
   171 :        .regstart = 0;
   172 :        .register = 0;
   173 :        sleep 5000;
*  174 :        .team[1] = .Radiant = bg_create( '"'arathi", 181, 19; strnpcinfo(0)+"::OnRadiantQuit", strnpcinfo(0)+"::OnRadiantDied" );
   175 :        .team[2] = .Dire = bg_create( "arathi", 19, 181; strnpcinfo(0)+"::OnDireQuit", strnpcinfo(0)+"::OnDireDied" );


 

This is the error script:

    .team[1] = .Radiant = bg_create( "arathi", 181, 19, strnpcinfo(0)+"::OnRadiantQuit", strnpcinfo(0)+"::OnRadiantDied" );
    .team[2] = .Dire = bg_create( "arathi", 19, 181, strnpcinfo(0)+"::OnDireQuit", strnpcinfo(0)+"::OnDireDied" );

 

BTW, I use this BG script 

 

Thanks and more power.

bgerror.jpg

bg.txt

Link to comment
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...