Author Topic: Tattoo shape & colour  (Read 515 times)

Legacy_Aradan Kir

  • Jr. Member
  • **
  • Posts: 57
  • Karma: +0/-0
Tattoo shape & colour
« on: February 20, 2016, 11:00:01 am »


               

Trying to find out how to change a PC's tattoos (both shape & colour) via a script.


 


For changing their head I'm using


 


SetCreatureBodyPart(CREATURE_PART_HEAD,  int, PC);


 


... is there an equivalent to change the tattoo shape & its colour?



               
               

               
            

Legacy_Asymmetric

  • Sr. Member
  • ****
  • Posts: 289
  • Karma: +0/-0
Tattoo shape & colour
« Reply #1 on: February 20, 2016, 12:56:54 pm »


               

The tattoo is tied to the body part. You can use the CREATURE_PART_* constants to change it (same function you use), i.e. to change the tattoo on the torso you change the torso itself with CREATURE_PART_TORSO


 


For colors there is SetColor(object oObject, int nColorChannel, int nColorValue) . The color channel constants are COLOR_CHANNEL_TATTOO_1 and COLOR_CHANNEL_TATTOO_2. Color values from 0 to 175 (= color id on the palette).



               
               

               
            

Legacy_Aradan Kir

  • Jr. Member
  • **
  • Posts: 57
  • Karma: +0/-0
Tattoo shape & colour
« Reply #2 on: February 20, 2016, 09:20:25 pm »


               

Great thanks - got this working '<img'>