How to pull from lists in Usecode C?
Posted: Wed Aug 15, 2018 11:34 am
Ok I've run into a bit of a snag on Beh Lem's usecode.
In the original, apparently if your party is full of 8 people and you agree to put Beh Lem in your party, one of the non permanent members of the party interjects and says they'll return to the surface to tell everyone of your progress, giving room for Beh Lem to join. I think specifically the code i looked at from U6edit says the # 6 party member but I think just a random non permanent party member will suffice (anyone but Shamino, Iolo, Dupre).
So I figured I needed to
- pull a list of these "non-permanent members" from the party list
- randomly interject one of them to volunteer to leave from this new list
How would I go about doing this? I'm assuming its possible to pull a value from the party list with UI_get_party_list by using indexes like [5], [6], [7]?
In the original, apparently if your party is full of 8 people and you agree to put Beh Lem in your party, one of the non permanent members of the party interjects and says they'll return to the surface to tell everyone of your progress, giving room for Beh Lem to join. I think specifically the code i looked at from U6edit says the # 6 party member but I think just a random non permanent party member will suffice (anyone but Shamino, Iolo, Dupre).
So I figured I needed to
- pull a list of these "non-permanent members" from the party list
- randomly interject one of them to volunteer to leave from this new list
How would I go about doing this? I'm assuming its possible to pull a value from the party list with UI_get_party_list by using indexes like [5], [6], [7]?