Dedication to Action and fun.
 
HomeCalendarFAQSearchMemberlistUsergroupsRegisterLog in

Share | 
 

 Give a quest item to each member of the party

View previous topic View next topic Go down 
AuthorMessage
lolthatguy

avatar

Posts : 243
Join date : 2013-05-05
Age : 23
Location : larry town

PostSubject: Give a quest item to each member of the party   Mon Oct 12, 2015 6:02 pm

this is probably really simple but I'm not sure how to make it so when a certain boss dies, he'll give each member of the party a quest item. I'm basically cutting down on the reward for iiistrael but giving each party member a special token that they can use to trade for the items they'd normally get, just not as many all at once. It also makes it more fair... so people don't just run to the chest and one person grabs everything.
Back to top Go down
View user profile
Highv Priest
Admin
avatar

Posts : 560
Join date : 2012-09-13

PostSubject: Re: Give a quest item to each member of the party   Tue Oct 13, 2015 12:10 am

Best way to do this is:

Object oGive = GetFirstFactionMember(oPC);

While(GetIsObjectValid(oGive))
[
if(GetArea(oGive) == GetArea(oPC))
[
"insert stuff to do"
]
oGive = GetNextFactionMember(oPC);
]

BioWare also has a premade function which gives an item to a whole party, but doesn't allow randomness.
Back to top Go down
View user profile http://badlandsaction.forumotion.com
lolthatguy

avatar

Posts : 243
Join date : 2013-05-05
Age : 23
Location : larry town

PostSubject: Re: Give a quest item to each member of the party   Tue Oct 13, 2015 10:47 am

thanks
Back to top Go down
View user profile
Sponsored content




PostSubject: Re: Give a quest item to each member of the party   

Back to top Go down
 
Give a quest item to each member of the party
View previous topic View next topic Back to top 
Page 1 of 1
 Similar topics
-
» Horadric Staff quest
» How to trade item in dota 2? (need help)
» Elf Quest Toy Box!
» New member shout out
» can't betray strauss in the gargoyle quest

Permissions in this forum:You cannot reply to topics in this forum
Badlands Action :: Talking about nwn :: Q&A-
Jump to: