Re: [Script] SetDefaultParty (SDP)
Posted: Mon Feb 18, 2013 12:13 am
why have I not read this thread earlier????
Thank you!
Thank you!
Official Legend of Grimrock Forums
http://grimrock.net/forum/
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