PoA_PRC8/_module/nss/lichtrigger3.nss

20 lines
452 B
Plaintext
Raw Normal View History

2022-10-07 14:20:31 -04:00
void main()
{
object oPC = GetEnteringObject();
{
SendMessageToPC(oPC, "You are blinded by a bright light for a moment.");
effect eBUMP = EffectVisualEffect(VFX_FNF_BLINDDEAF);
ApplyEffectToObject(DURATION_TYPE_INSTANT,eBUMP,oPC, 3.0);
}
object oDrop = GetWaypointByTag("lichexit");
//jump the PC to the destination
SendMessageToPC(oPC, "You havebeen returned to the farmers house.");
DelayCommand(3.0,AssignCommand (oPC,JumpToObject(oDrop)));
}