elements code need help

Results 1 to 7 of 7
  1. #1
    Sorcerer Supreme 88supra86 is offline
    Member +Rank
    Feb 2011 Join Date
    CanadaLocation
    388Posts

    elements code need help

    hey everyone i managed to create a fly mount but i want to restrict it to 2 classes,

    these are the id's i know of so far so how would i be able ot make it for the human class and lets say beast class

    255 = all
    192 = elf
    24 = beast
    3 = human

    would i just have to duplicate the item i made and make them seperate for each class or can i just put 3,24 on line 17 of the fly mount.


  2. #2
    Grand Master 343 is offline
    Grand MasterRank
    Oct 2009 Join Date
    Ancient DGN CTYLocation
    5,510Posts

    Re: elements code need help

    Quote Originally Posted by 88supra86 View Post
    hey everyone i managed to create a fly mount but i want to restrict it to 2 classes,

    these are the id's i know of so far so how would i be able ot make it for the human class and lets say beast class

    255 = all
    192 = elf
    24 = beast
    3 = human

    would i just have to duplicate the item i made and make them seperate for each class or can i just put 3,24 on line 17 of the fly mount.
    Mask Gen ;)

  3. #3
    Black Magic Development das7002 is offline
    Grand MasterRank
    Apr 2010 Join Date
    EarthLocation
    2,188Posts

    Re: elements code need help

    Quote Originally Posted by 88supra86 View Post
    hey everyone i managed to create a fly mount but i want to restrict it to 2 classes,

    these are the id's i know of so far so how would i be able ot make it for the human class and lets say beast class

    255 = all
    192 = elf
    24 = beast
    3 = human

    would i just have to duplicate the item i made and make them seperate for each class or can i just put 3,24 on line 17 of the fly mount.
    It's a bit mask... (each bit represents on or off for a specific class.
    For example, 3+24 = 27 so 27 would limit to humans and untamed.

  4. #4
    Grand Master 343 is offline
    Grand MasterRank
    Oct 2009 Join Date
    Ancient DGN CTYLocation
    5,510Posts

    Re: elements code need help

    ...and the exact reason I included "Mask Gen" with my release (as a pwAdmin plugin at that so it's easy to find ;) )

  5. #5
    Sorcerer Supreme 88supra86 is offline
    Member +Rank
    Feb 2011 Join Date
    CanadaLocation
    388Posts

    Re: elements code need help

    uh ok so i knew i was on the right track just had to be sure. thanks man.

  6. #6
    Sorcerer Supreme rudisans is offline
    Member +Rank
    Aug 2010 Join Date
    Padang CityLocation
    376Posts

    Re: elements code need help

    Quote Originally Posted by das7002 View Post
    It's a bit mask... (each bit represents on or off for a specific class.
    For example, 3+24 = 27 so 27 would limit to humans and untamed.
    thanks i need this

  7. #7
    Nerd-IO Romulan is offline
    Grand MasterRank
    Feb 2009 Join Date
    BelgiumLocation
    3,333Posts

    Re: elements code need help

    Open seledit > tools > class mask ...



Advertisement