firefox
Initiate
I wanted to make armors show the temporaryquestobject attachment from Xmlspawner2.
i added on singleclick method the next part;
this is the error im getting;
Errors:
+ Items/Armor/BaseArmor.cs:
CS0103: Line 1947: The name 'Expiration' does not exist in the current conte
xt
CS0103: Line 1952: The name 'Expiration' does not exist in the current conte
xt
CS0103: Line 1954: The name 'Expiration' does not exist in the current conte
xt
Thanks guys
i added on singleclick method the next part;
Code:
public override void OnSingleClick(Mobile from)
{
///////////////////------------------------------XMLTEMPORARY------------------****************////////
TemporaryQuestObject tempo = (TemporaryQuestObject)XmlAttach.FindAttachment(this, typeof(TemporaryQuestObject));
if (tempo != null)
{
if(Expiration > TimeSpan.Zero)
{
return String.Format("{1} Expires in {0} minutes",Expiration.TotalMinutes);
}
}
///////////////////------------------------------XMLTEMPORARY------------------****************////////
}
this is the error im getting;
Errors:
+ Items/Armor/BaseArmor.cs:
CS0103: Line 1947: The name 'Expiration' does not exist in the current conte
xt
CS0103: Line 1952: The name 'Expiration' does not exist in the current conte
xt
CS0103: Line 1954: The name 'Expiration' does not exist in the current conte
xt
Thanks guys
Last edited: