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