43 lines
1.4 KiB
Plaintext
43 lines
1.4 KiB
Plaintext
void main()
|
|
{
|
|
|
|
object oPC = GetPCSpeaker();
|
|
|
|
object oTarget;
|
|
oTarget = GetObjectByTag("tab_md1");
|
|
|
|
AssignCommand(oTarget, ActionOpenDoor(oTarget));
|
|
|
|
oTarget = GetObjectByTag("tab_md2");
|
|
|
|
AssignCommand(oTarget, ActionOpenDoor(oTarget));
|
|
|
|
oTarget = GetObjectByTag("tab_md3");
|
|
|
|
AssignCommand(oTarget, ActionOpenDoor(oTarget));
|
|
|
|
oTarget = GetObjectByTag("wp_tabmind_01");
|
|
|
|
int nInt;
|
|
nInt = GetObjectType(oTarget);
|
|
|
|
if (nInt != OBJECT_TYPE_WAYPOINT) DelayCommand(1.5,ApplyEffectToObject(DURATION_TYPE_INSTANT, EffectVisualEffect(VFX_FNF_DISPEL_DISJUNCTION), oTarget));
|
|
else DelayCommand(1.5,ApplyEffectAtLocation(DURATION_TYPE_INSTANT, EffectVisualEffect(VFX_FNF_DISPEL_DISJUNCTION), GetLocation(oTarget)));
|
|
|
|
oTarget = GetObjectByTag("wp_tabmind_02");
|
|
|
|
nInt = GetObjectType(oTarget);
|
|
|
|
if (nInt != OBJECT_TYPE_WAYPOINT) DelayCommand(3.0,ApplyEffectToObject(DURATION_TYPE_INSTANT, EffectVisualEffect(VFX_FNF_DISPEL_DISJUNCTION), oTarget));
|
|
else DelayCommand(3.0,ApplyEffectAtLocation(DURATION_TYPE_INSTANT, EffectVisualEffect(VFX_FNF_DISPEL_DISJUNCTION), GetLocation(oTarget)));
|
|
|
|
oTarget = GetObjectByTag("wp_tabmind_03");
|
|
|
|
nInt = GetObjectType(oTarget);
|
|
|
|
if (nInt != OBJECT_TYPE_WAYPOINT) DelayCommand(4.5,ApplyEffectToObject(DURATION_TYPE_INSTANT, EffectVisualEffect(VFX_FNF_DISPEL_DISJUNCTION), oTarget));
|
|
else DelayCommand(4.5,ApplyEffectAtLocation(DURATION_TYPE_INSTANT, EffectVisualEffect(VFX_FNF_DISPEL_DISJUNCTION), GetLocation(oTarget)));
|
|
|
|
}
|
|
|