First of all thank you for your interest.
There is no problem in the code up to the marked place and there is no error.
I am trying to randomly the drops into a single player in the looped data.
Thanks to those who helped.
[doublepost=1592403551,1592337268][/doublepost]Does anyone understand ?
[doublepost=1592496108][/doublepost]I think it must be a very hard job.
Great skUnity form left unanswered.
There is no problem in the code up to the marked place and there is no error.
I am trying to randomly the drops into a single player in the looped data.
Code:
on death:
if attacker is a player:
if victim isn't a player:
set {_drops::*} to drops
remove drops from the drops
if {Ownerofparty.%attacker%} is set:
#PROBLEM
loop {party.%{Ownerofparty.%attacker%}%.list::*}:
add loop-variable to {gdrops::*}
set {gdroplanan} to random element of {gdrops::*}
add {_drops::*} to {gdroplanan} inventory
else:
add {_drops::*} to attacker's inventory
Thanks to those who helped.
[doublepost=1592403551,1592337268][/doublepost]Does anyone understand ?
[doublepost=1592496108][/doublepost]I think it must be a very hard job.
Great skUnity form left unanswered.