[Help] SetLevelUpGift in Event.lua v15

Results 1 to 5 of 5
  1. #1
    Member mikmeg is offline
    MemberRank
    Dec 2009 Join Date
    57Posts

    [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.
    Last edited by mikmeg; 26-05-10 at 02:25 AM.


  2. #2
    Apprentice doorbange is offline
    MemberRank
    Jan 2009 Join Date
    CaliforniaLocation
    5Posts

    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.

  3. #3
    Member mikmeg is offline
    MemberRank
    Dec 2009 Join Date
    57Posts

    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?

  4. #4
    Apocalypse bryle000 is offline
    MemberRank
    Oct 2008 Join Date
    221Posts

    Re: [Help] SetLevelUpGift in Event.lua v15

    byFlag, means, it cant be traded if it is 2

    Flag = 2 (Event)

  5. #5
    Member mikmeg is offline
    MemberRank
    Dec 2009 Join Date
    57Posts

    Re: [Help] SetLevelUpGift in Event.lua v15

    Thanks.
    Where you found this information? I try to search but nothing...



Advertisement