23 lines
864 B
Plaintext
23 lines
864 B
Plaintext
|
|
|
|
void main()
|
|
{
|
|
|
|
object oCreature = GetEnteringObject();
|
|
|
|
//Make sure the opener is a PC
|
|
if (GetIsObjectValid(oCreature) == TRUE && GetIsPC(oCreature) == TRUE)
|
|
{
|
|
AssignCommand(oCreature, ActionWait(0.3) );
|
|
ApplyEffectToObject(DURATION_TYPE_TEMPORARY,EffectVisualEffect(VFX_DUR_GHOSTLY_VISAGE), oCreature, 7.1);
|
|
SetPlotFlag(oCreature, TRUE);
|
|
SetCommandable(FALSE,oCreature);
|
|
SendMessageToPC(oCreature, "A shock of raw power hits you. You feel the blood in your veins freeze solid, and you cannot move in the presence of the Queen.");
|
|
SendMessageToPC(oCreature, "You try to scream, but your immobile body cannot respond.");
|
|
DelayCommand(7.0, SetCommandable(TRUE,oCreature));
|
|
DelayCommand(7.1, SetPlotFlag(oCreature, FALSE));
|
|
|
|
DelayCommand(7.2, AssignCommand( oCreature, ClearAllActions(FALSE)));
|
|
}
|
|
}
|