void CreateObject2(int nObjectType, string sTemplate, location lLocation, int bUseAppearAnimation=TRUE); void main() { if(GetIsDay()) { //Do Nothing } else { SetIsDestroyable(TRUE); DelayCommand(119.0, CreateObject2(OBJECT_TYPE_CREATURE, "vampire001", GetLocation(GetWaypointByTag("WP_moors_stralad_west")))); DelayCommand(120.0, DestroyObject(OBJECT_SELF)); } } void CreateObject2(int nObjectType, string sTemplate, location lLocation, int bUseAppearAnimation=TRUE) { CreateObject(nObjectType, sTemplate, lLocation, bUseAppearAnimation); return; }