Changed folder name.
Changed folder name.
This commit is contained in:
22
_module/nss/queentriggeer.nss
Normal file
22
_module/nss/queentriggeer.nss
Normal file
@@ -0,0 +1,22 @@
|
||||
|
||||
|
||||
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)));
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user