Jump to content
  • 0
Sign in to follow this  
karazu

Custom Battle Ground by goddammit please help put a prize?

Question

13 answers to this question

Recommended Posts

  • 0

they said this one should be added?

 

if(.point[1]>.point[2]){	for( set .@i,1; .playerid[.@i]; set .@i,.@i+1 )	{		if( attachrid(.playerid[.@i]) )		{			if( getcharid(4) == $@bg_id_a )				getitem 7539,10;		}	}	Announce "[Battle Ground]:Team A Win!",0;} 
Edited by karazu

Share this post


Link to post
Share on other sites
  • 0

I'm not entirely sure if this would work but give it a shot

on line 114~

	if(.point[1]>.point[2])	{		Announce "[Battle Ground]:Team A Win!",0;		getitem $@bg_id_a,<item id>,<qty>;	}else if(.point[2]>.point[1])	{		Announce "[Battle Ground]:Team B Win!",0;		getitem $@bg_id_b,<item id>,<qty>;	}else	{		Announce "[Battle Ground]:Draw!",0;		getitem $@bg_id_a,<item id>,<qty>;		getitem $@bg_id_b,<item id>,<qty>;	}

Share this post


Link to post
Share on other sites
  • 0

Hello can you tell me about this error?
 

 

[Error]:script error on npc/custom/MYNPC/CustomBattle.txt line 109    parse_simpleexpr: unexpected character   104 : 	end;   105 : OnTimer190000:   106 : 	if(.point[1]>.point[2])   107 : 	{   108 : 		Announce "[Battle Ground]:Team A Win!",0;*  109 : 		getitem $@bg_id_a,'<'item id>,<qty>;   110 : 	}else if(.point[2]>.point[1])   111 : 	{   112 : 		Announce "[Battle Ground]:Team B Win!",0;   113 : 		getitem $@bg_id_b,<item id>,<qty>;   114 : 	}else[Info]: Done loading '14800' NPCs:   

Share this post


Link to post
Share on other sites
  • 0

still exist
 

 

[Error]: script error on npc/custom/MYNPC/CustomBattle.txt line 85    parse_simpleexpr: unexpected character    80 : 	end;    81 : OnTimer60000:    82 :     if(.point[1]>.point[2])    83 :     {    84 :         Announce "[Battle Ground]:Team A Win!",0;*   85 :         getitem $@bg_id_a,'<'605>,<1>;    86 :     }else if(.point[2]>.point[1])    87 :     {    88 :         Announce "[Battle Ground]:Team B Win!",0;    89 :         getitem $@bg_id_b,<605>,<1>;    90 :     }else 

 

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.