20 lines
452 B
Plaintext
20 lines
452 B
Plaintext
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)));
|
|
|
|
}
|