Initial Commit
Initial Commit [v1.32PRC8]
This commit is contained in:
23
_module/nss/qst_host1rwd1.nss
Normal file
23
_module/nss/qst_host1rwd1.nss
Normal file
@@ -0,0 +1,23 @@
|
||||
#include "rd_treasure"
|
||||
|
||||
void GivePartyReward(object oPC);
|
||||
|
||||
void main()
|
||||
{
|
||||
location lMove;
|
||||
|
||||
GivePartyReward(GetPCSpeaker());
|
||||
ExecuteScript("qst_done",OBJECT_SELF);
|
||||
lMove = GetLocation(GetObjectByTag("en3_move"));
|
||||
DelayCommand(3.0f,AssignCommand(OBJECT_SELF,JumpToLocation(lMove)));
|
||||
}
|
||||
|
||||
void GivePartyReward(object oPC)
|
||||
{
|
||||
object oPartyMember = GetFirstFactionMember(oPC, TRUE);
|
||||
while (GetIsObjectValid(oPartyMember) == TRUE)
|
||||
{
|
||||
GetRareItem(oPartyMember);
|
||||
oPartyMember = GetNextFactionMember(oPC, TRUE);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user