Jump to content
For maintenance and updates, the community will be offline on 31 December 2022 ×
  • 0

party.get_member_pids


Crystal™

Question

  • Premium

I want to write a quest that  uses party.get_member_pids and gives to every party member an item or exp for example.

How can i do this?

Spoiler

                            local teamArr={party.get_member_pids()}
                            for j=1,table.getn(teamArr) do
                                teamArr[j].pc.give_exp2(pc.get_next_exp())
                                j=j+1                            
                            end--for j

*i dont know lua

Link to comment
Share on other sites

  • Answers 1
  • Created
  • Last Reply

Top Posters For This Question

Popular Days

1 answer to this question

Recommended Posts

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.