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

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.   Restore formatting

  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.

Loading...
Sign in to follow this  

×
×
  • Create New...

Important Information

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