PoA_PRC8/_module/nss/deadjump3.nss
Jaysyn904 8d97886c3f Changed folder name.
Changed folder name.
2022-10-07 21:08:37 -04:00

19 lines
913 B
Plaintext

void main()
{
object deadguy = GetNearestCreature(CREATURE_TYPE_PLAYER_CHAR,PLAYER_CHAR_IS_PC);
location deadguy3 = GetLocation(GetWaypointByTag("deadguy3"));
AssignCommand(deadguy, ClearAllActions(FALSE));
AssignCommand(deadguy, JumpToLocation(deadguy3));
ApplyEffectToObject(DURATION_TYPE_TEMPORARY,EffectVisualEffect(VFX_DUR_GHOSTLY_VISAGE), deadguy, 8.1);
DelayCommand(0.2, SetPlotFlag(deadguy, TRUE));
SendMessageToPC(deadguy, "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(deadguy, "You try to scream, but your immobile body cannot respond.");
DelayCommand(0.3, SetCommandable(FALSE,deadguy));
DelayCommand(8.0, SetCommandable(TRUE,deadguy));
DelayCommand(8.01, SetPlotFlag(deadguy, FALSE));
DelayCommand(8.2, AssignCommand( deadguy, ClearAllActions(FALSE)));
}