void CreateObject2(int nObjectType, string sTemplate, location lLocation, int bUseAppearAnimation=TRUE); void main() { DelayCommand(599.0, CreateObject2(OBJECT_TYPE_PLACEABLE, "fplaguecrpse", GetLocation(OBJECT_SELF))); DelayCommand(600.0, DestroyObject(OBJECT_SELF)); } void CreateObject2(int nObjectType, string sTemplate, location lLocation, int bUseAppearAnimation=TRUE) { CreateObject(nObjectType, sTemplate, lLocation, bUseAppearAnimation); return; }