why have I not read this thread earlier????
Thank you!
[Script] SetDefaultParty (SDP)
Re: [Script] SetDefaultParty (SDP)
ad&d / ff / d&d
Re: [Script] SetDefaultParty (SDP)
So, another question
How I can prevent party members change slot?
or
How I can add party member to free slot?
The actual problem is: I have two party members (1 and 3), if player change their slots (for example move 3 to 2), and I try add party member 2 (by "party:getChampion(2):setEnabled(true)") nothing happens.
Thank for your help.
How I can prevent party members change slot?
or
How I can add party member to free slot?
The actual problem is: I have two party members (1 and 3), if player change their slots (for example move 3 to 2), and I try add party member 2 (by "party:getChampion(2):setEnabled(true)") nothing happens.
Thank for your help.
Re: [Script] SetDefaultParty (SDP)
So, after few days without any response, I contacted Mahric and he send me solution, there is for everyone, its quite simple, but 100% functional.tymur wrote:So, another question
How I can prevent party members change slot?
or
How I can add party member to free slot?
The actual problem is: I have two party members (1 and 3), if player change their slots (for example move 3 to 2), and I try add party member 2 (by "party:getChampion(2):setEnabled(true)") nothing happens.
Thank for your help.
Code: Select all
function getChamp(o)
for i = 1,4 do
if party:getChampion(i):getOrdinal() == o then
return party:getChampion(i)
end
end
return nil
end
Very simple and very effective. Once more many thanks to Mahric.