Dedication to Action and fun.
 
HomeCalendarFAQSearchMemberlistUsergroupsRegisterLog in

Share | 
 

 Give a quest item to each member of the party

Go down 
AuthorMessage
lolthatguy

avatar

Posts : 290
Join date : 2013-05-05
Age : 24
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 : 617
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 : 290
Join date : 2013-05-05
Age : 24
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
Back to top 
Page 1 of 1
 Similar topics
-
» Elf Quest Toy Box!
» Space Quest IV.5 Roger Wilco and The Voyage Home
» the mystery of bubbles quest
» Sakura Bonsai Quest
» Requesting a Charged Collection item

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