I'm on my testing period first, before i proceed to write this script. This is my first time dealing with BG commands, so i dont know what is wrong with my script. I want to create two parties, and then there will be two turrets, if turret 1 is alive, i cannot touch turret 2, but it seems that i do not understand fully how this works.. here is my script. Thank you in advance.. If you can give me any suggestion, they will be welcomed..
Question
BigBurrito
I'm on my testing period first, before i proceed to write this script. This is my first time dealing with BG commands, so i dont know what is wrong with my script. I want to create two parties, and then there will be two turrets, if turret 1 is alive, i cannot touch turret 2, but it seems that i do not understand fully how this works.. here is my script. Thank you in advance.. If you can give me any suggestion, they will be welcomed..
arathi,19,181,5 script Fury Bounty Room#a::FBR_Alpha 418,{
OnInit:
waitingroom "Battle Station 1 Player",2,"FB_BG_Out::OnAlphaJoin",1;
end;
OnEnter:
waitingroom2bg_single($@FBBG_id1,"arathi",21,179,"Alpha");
end;
}
arathi,181,18,7 script Fury Bounty Room#b::FBR_Beta 418,{
OnInit:
waitingroom "Battle Station 1 Player",2,"FB_BG_Out::OnBetaJoin",1;
end;
OnEnter:
waitingroom2bg_single($@FBBG_id2,"arathi",179,21,"Beta");
end;
}
- script Partybg -1,{
OnInit:
$@turreta1 = bg_monster($@FBBG_id1,"arathi",91,33,"Alpha Turret1",1905,"Alpha Turret1::OnMyMob1Dead");
$@turreta2 = bg_monster($@FBBG_id1,"arathi",133,27,"Alpha Turret2",1905,"Alpha Turret2::OnMyMob2Dead");
setunitdata $@turreta2,UMOB_DMGIMMUNE,1;
OnMyMob1Dead:
setunitdata $@turreta2,UMOB_DMGIMMUNE,0;
end;
}
Link to comment
Share on other sites
2 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.