Lena80
Member
Hello im using the clone character on log out, it doesnt let me add the CharacterClone snipet into notoriety.cs here are the errros
I added to the top of notoriety.cs this;
this is what i added to notoriety.cs inside public static int MobileNotoriety( Mobile source, Mobile target ) method
this is the top of the Characterclone script:
and this is the ''constructable'' (?)
Errors:
Errors:
+ Misc/Notoriety.cs:
CS0246: Line 570: The type or namespace name 'CharacterClone' could not be f
ound (are you missing a using directive or an assembly reference?)
I noticed the xmlspawner quests are not registering the kill whenever i setup a KILLNAMED quest, so those character clones are not truly basecreature types?
I added to the top of notoriety.cs this;
C#:
using Felladrin.Automations;
this is what i added to notoriety.cs inside public static int MobileNotoriety( Mobile source, Mobile target ) method
C#:
if (source is PlayerMobile && target is CharacterClone)
this is the top of the Characterclone script:
C#:
using Server.Network;
namespace Felladrin.Automations
{
and this is the ''constructable'' (?)
C#:
public class CharacterClone : BaseCreature
{
[CommandProperty(AccessLevel.GameMaster)]
public Mobile Original { get; set; }
public CharacterClone(Mobile original) : base(Config.CanWander ? AIType.AI_Vendor : AIType.AI_Use_Default, FightMode.None, 10, 1, 0.2, 0.2)
{
Original = original;
Errors:
Errors:
+ Misc/Notoriety.cs:
CS0246: Line 570: The type or namespace name 'CharacterClone' could not be f
ound (are you missing a using directive or an assembly reference?)
Post automatically merged:
Post automatically merged:
I noticed the xmlspawner quests are not registering the kill whenever i setup a KILLNAMED quest, so those character clones are not truly basecreature types?
Attachments
Last edited: