PoA_PRC8/module/nss/lokishaft_yes.nss
Jaysyn904 128e7e59a4 Initial upload
Initial upload
2022-10-07 14:20:31 -04:00

21 lines
579 B
Plaintext

//trapdoor_yes script by Kerico 7/7/02
//jumps the using PC to target waypoint and closes the trapdoor for next use
//place in action taken scipt in trapdoor conversation
//in 'yes' end dialog of the trapdoor
void main()
{
//get the pc who used the trapdoor
object oPC = GetPCSpeaker();
effect eEffect = EffectVisualEffect(VFX_FNF_SUMMON_UNDEAD);
object oDrop = GetWaypointByTag("lokireturnpoint");
location eLoc = GetLocation (oPC);
//jump the PC to the destination
ApplyEffectAtLocation(DURATION_TYPE_INSTANT, eEffect, eLoc);
AssignCommand (oPC,JumpToObject(oDrop));
}