Armor Color NPC

Amenovis

Golden Oldie
Golden Oldie
Loyal Member
Jan 9, 2006
1,105
0
143
Germany
Hiho

i have a script that its possible to change the color at a npc it works nice

now i wanna make a quest, as gift i should got a spezial armor but there is my prob ;(

the part with :
give xyzarmor

is clear but with wich command i can say the NPC the Color??
I wanna have always the same color from that npcgift and no random
 

Far

tsniffer
Staff member
Developer
May 19, 2003
20,172
30
2,767
540
you cant, since the armour has to be on you when dying it.

give the player the armour, ask them to put it on. then run this script below...

[@MAIN]
#IF
CHECK QUESTCOMPLETE <<< --- EXAMPLE
#SAY
{FCOLOR/12}<Dye clothes/@dyemember2>{FCOLOR/12}\
<Close/@exit>\
#ELSESAY
You are not wearing the quest armour

[@dyemember2]
#act
Delaygoto [local] 2 @dyenow
#say
{FCOLOR/10}Please Wait whilst i dye your armor...{FCOLOR/12}\

[@dyenow]
#IF
#ACT
LoadValue B0 "Market_def\Values\questClothes.txt" [ClothesColour] [Red]
LoadValue B1 "Market_def\Values\questClothes.txt" [ClothesColour] [Green]
LoadValue B2 "Market_def\Values\questClothes.txt" [ClothesColour] [Blue]
wearcolor %B2 %B0 %B1
#say
{FCOLOR/10}Your clothes have been dyed succesfully.{FCOLOR/12}\\
<Close/@exit>


questclothes.txt should look like this...

[ClothesColour]
Red=140
Green=120
Blue=90


^^ change the numbers to the quest colour you want.

if that not what u asked then meh.
 
Upvote 0

Amenovis

Golden Oldie
Golden Oldie
Loyal Member
Jan 9, 2006
1,105
0
143
Germany
mhh thx but it wasnt right what i wanna know
ur script part looks like normal armor change with the diffrent he check if Quest complete or not

what i meand was i make as player a quest and finish it than the NPC give me for example a Black Armor

(But unimportend wich player make that quest the npc should ever give a Black Armor) and (makes possible to make that quest only one time but that isnt a problem also i took the ParaProTele-Ring System)
 
Upvote 0

Amenovis

Golden Oldie
Golden Oldie
Loyal Member
Jan 9, 2006
1,105
0
143
Germany
mhh i know double post sorry if i understand it right is it impossible to say a npc give ever same color from armor as gift mhh k than the thread can close
 
Upvote 0

Far

tsniffer
Staff member
Developer
May 19, 2003
20,172
30
2,767
540
yeah you cant do that i dont think sorry. will leave thread open incase someone knows how.
 
Upvote 0

Tali

Dedicated Member
Dedicated Member
May 4, 2004
50
0
52
with the new files you could give them the armour equiped then change the colour.
 
Upvote 0