-
Notifications
You must be signed in to change notification settings - Fork 760
Bg monster set team
Haru edited this page Oct 19, 2016
·
1 revision
This command will change the allegiance if a monster in battlegrounds. GID can be set when spawning the monster via the bg_monster command.
OnEnable: [[mapannounce]] "bat_b01", "A guardian has been summoned for Battle Group 2!", bc_map, 0xFFCE00; [[set]] $@Guardian, [[bg_monster]]($@BG_2,"bat_a01",268,204,"Guardian",1949,"NPCNAME::OnMyMobDead"); [[initnpctimer]]; [[end]]; [[OnTimer]]1000: [[stopnpctimer]]; [[mapannounce]] "bat_b01", "Erm, sorry about that! This monster was meant for Battle Group 1.", bc_map, 0xFFCE00; [[bg_monster_set_team]] $@Guardian, $@BG_1; [[end]];