[Help] SetLevelUpGift in Event.lua v15
Hello community.
My questions.
What mean the byFlag variable of the SetLevelUpGift function in EventFunc.lua?
I think that this variable means that the character is an hero, a master or a normal character but what is the value for these situations? 0, 1, 2 or another values?
Thanks for the answers to my questions.
Re: [Help] SetLevelUpGift in Event.lua v15
Code:
SetLevelUpGift( level, ???, itemname, count )
Example:
Code:
SetLevelUpGift( 2, "all", "II_SYS_SYS_SCR_PERIN", 1 )
This would give all accounts that reach level 2 one Perin.
Re: [Help] SetLevelUpGift in Event.lua v15
Thanks for the answer about the use of SetLevelUpGift function but you don't have answered to my question: what means the byFlag variable?
I say this because in definition of the SetLevelUpGift function in EventFunc.lua the last parameter is byFlag. You known why?
Re: [Help] SetLevelUpGift in Event.lua v15
byFlag, means, it cant be traded if it is 2
Flag = 2 (Event)
Re: [Help] SetLevelUpGift in Event.lua v15
Thanks.
Where you found this information? I try to search but nothing...