void CreateObject2(int nObjectType, string sTemplate, location lLocation, int bUseAppearAnimation=TRUE); void main() { if(GetIsDay()) { DelayCommand(1.0, CreateObject2(OBJECT_TYPE_PLACEABLE, "taer_mumspwn", GetLocation(GetWaypointByTag("WP_RHUN_SEOC_01")))); SetIsDestroyable(TRUE); DelayCommand(2.0, DestroyObject(OBJECT_SELF)); } else { //Do Nothing } } void CreateObject2(int nObjectType, string sTemplate, location lLocation, int bUseAppearAnimation=TRUE) { CreateObject(nObjectType, sTemplate, lLocation, bUseAppearAnimation); return; }