Why doesnt this work?
int nMatAmount1 = nAmount1 - GetAllStacks( "CopperIgnot", oPC );
SetCustomToken(8100,IntToString(nMatAmount1));
SendMessageToPC(oPC, "You need <CUSTOM8100> more Copper Ignots to make this.");
Can custom tokens be used this way? or is there another way to get this info to a player?
Send message to pc and custom token
Débuté par
Pattycake1
, oct. 16 2012 10:13
#1
Posté 16 octobre 2012 - 10:13
#2
Posté 16 octobre 2012 - 10:57
SendMessageToPC(oPC, "You need " + IntToString(nMatAmount1) + " more Copper Ignots to make this.");
Tokens are used for passing variable data into conversations. You don't need them if you're just sending the message as a string directly.
Tokens are used for passing variable data into conversations. You don't need them if you're just sending the message as a string directly.
#3
Posté 16 octobre 2012 - 10:59
Duh.... lol ty for the answer. That sad part is I use that in other parts of the script I just got way ahead of my self and tried to be fancy..... *slap forhead*





Retour en haut






