21 lines
704 B
Plaintext
21 lines
704 B
Plaintext
void CreateObject2(int nObjectType, string sTemplate, location lLocation, int bUseAppearAnimation=FALSE);
|
|
|
|
void main()
|
|
{
|
|
if(GetIsDay()) {
|
|
//Do Nothing
|
|
}
|
|
else {
|
|
ApplyEffectAtLocation(DURATION_TYPE_PERMANENT, EffectVisualEffect(VFX_FNF_SMOKE_PUFF), GetLocation(GetWaypointByTag("WP_RHUN_SEOC_01")));
|
|
DelayCommand(1.0, CreateObject2(OBJECT_TYPE_CREATURE, "mummyserdo", GetLocation(GetWaypointByTag("WP_RHUN_SEOC_01"))));
|
|
SetIsDestroyable(TRUE);
|
|
DelayCommand(2.0, DestroyObject(OBJECT_SELF));
|
|
}
|
|
}
|
|
|
|
void CreateObject2(int nObjectType, string sTemplate, location lLocation, int bUseAppearAnimation=FALSE)
|
|
{
|
|
CreateObject(nObjectType, sTemplate, lLocation, bUseAppearAnimation);
|
|
return;
|
|
}
|