Jump to content
The forums will be going offline for an extended maintenance period at 1400hrs GMT on 19th June 2025. The number of hours for this downtime is intentionally not advertised due to the nature of these upgrades. ×
  • 0

Prize not working help!


Budots

Question


  • Group:  Members
  • Topic Count:  69
  • Topics Per Day:  0.02
  • Content Count:  200
  • Reputation:   1
  • Joined:  09/25/13
  • Last Seen:  

Hi guys


I have tried my Battleground script just today can you help me with FLAVIUS and TIERRA because after the team won they can't get prizes.

The prizes should be;

Winning Team:  3 VALOr BADGES
Lossing Team: 1 VALOR BADGE

 

 

 

flavius01.txt

tierra01.txt

post-20873-0-97058900-1386308801_thumb.png

bg_common.txt

Edited by GM Montoy
Link to comment
Share on other sites

2 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  104
  • Topics Per Day:  0.02
  • Content Count:  429
  • Reputation:   60
  • Joined:  08/19/12
  • Last Seen:  

Find this on bg_common.txt

// Badge Reward Function
//============================================================
function script F_BG_Badge {
 
if (getarg(2) == "Tierra") {
set .@badge,7179; //BF_Badge1
set .@amount_win,3;
set .@amount_lose,1;
} else if (getarg(2) == "Flavius") {
set .@badge,7179; //BF_Badge2
set .@amount_win,3;
set .@amount_lose,1;
} else
return;

and replace with

function<TAB>script<TAB>F_BG_Badge<TAB>{

if (getarg(2) == "Tierra") {
set .@badge,7829; //BF_Badge1
set .@amount_win,3;
set .@amount_lose,1;
} else if (getarg(2) == "Flavius") {
set .@badge,7829; //BF_Badge2
set .@amount_win,3;
set .@amount_lose,1;
} else
return;
Edited by Patskie
Code
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  69
  • Topics Per Day:  0.02
  • Content Count:  200
  • Reputation:   1
  • Joined:  09/25/13
  • Last Seen:  

Find this on bg_common.txt

// Badge Reward Function

//============================================================

function script F_BG_Badge {

 

if (getarg(2) == "Tierra") {

set .@badge,7179; //BF_Badge1

set .@amount_win,3;

set .@amount_lose,1;

} else if (getarg(2) == "Flavius") {

set .@badge,7179; //BF_Badge2

set .@amount_win,3;

set .@amount_lose,1;

} else

return;

and replace with

function<TAB>script<TAB>F_BG_Badge<TAB>{

if (getarg(2) == "Tierra") {

set .@badge,7829; //BF_Badge1

set .@amount_win,3;

set .@amount_lose,1;

} else if (getarg(2) == "Flavius") {

set .@badge,7829; //BF_Badge2

set .@amount_win,3;

set .@amount_lose,1;

} else

return;

 

Ok i did try to check if im doing it correctly;

 

Saka po, diba po pagna dead yung player pupunta sila sa isang RESPAWN AREA na may NPC , yung npc pong yun sana po HEALER,BUFFER, REPAIR SAKA STORAGE po sana. Hindi kasi sya gumagana. Pwede nyo po ako i help dun

bg_common.txt

Link to comment
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.   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...