Just need help with this easy script ._. is there a way to make it so when a boss dies he awards each party member with an item? Instead of just the killer.
Quick help with quest reward
Débuté par
Imperator
, oct. 12 2015 09:44
#1
Posté 12 octobre 2015 - 09:44
#2
Posté 12 octobre 2015 - 10:58
object oPC = GetLastKiller();
object oPartyMember = GetFirstFactionMember(oPC, TRUE);
while(oPartyMember != OBJECT_INVALID)
{
// Put your code to give the item here
oPartyMember = GetNextFactionMember(oPC, TRUE);
}
#3
Posté 12 octobre 2015 - 11:02
Thanks a bunch! :^)





Retour en haut







