Quote:
|
Originally Posted by milkman_dan
How do you set the location for the moongate in the script so you dont have to props the lich lord each and everytime?
|
Code:
public override void Serialize( GenericWriter writer )
{
base.Serialize( writer );
writer.Write( (int) 0 );
/*Moongate destination*/
writer.Write((int)m_MoonDest.X);
writer.Write((int)m_MoonDest.Y);
writer.Write((int)m_MoonDest.Z);
/*--------------------*/
}
In the deserialize is the same