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.
bg.txt