Aller au contenu

Photo

Tattoo shape & colour


  • Veuillez vous connecter pour répondre
2 réponses à ce sujet

#1
Aradan Kir

Aradan Kir
  • Members
  • 29 messages

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?



#2
Asymmetric

Asymmetric
  • Members
  • 165 messages

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).


  • Aradan Kir aime ceci

#3
Aradan Kir

Aradan Kir
  • Members
  • 29 messages

Great thanks - got this working :)