View Single Post
Old 08-08-2004, 10:39 AM   #3 (permalink)
xApoCx
 
Join Date: Jun 2004
Age: 25
Posts: 56
Default

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
xApoCx is offline   Reply With Quote