Files
RoT2_PRC8/src/module/nss/at_dm_shogun.nss
Jaysyn904 ab2fc1d732 Added PEPS AI
Added PEPS AI.
Full compile.
Reorganized repository.
2025-07-28 12:49:34 -04:00

28 lines
544 B
Plaintext

/* Script generated by
Lilac Soul's NWN Script Generator, v. 1.2
For download info, please visit:
http://www.angelfire.com/space/lilacsoul */
//Put this OnUsed
void main()
{
object oPC = GetLastUsedBy();
if (!GetIsPC(oPC)) return;
AssignCommand(oPC, ClearAllActions());
object oTarget;
oTarget = GetWaypointByTag("wp_dm_shogun_portal");
DelayCommand(3.0, AssignCommand(oPC, ActionJumpToObject(oTarget)));
oTarget = oPC;
ApplyEffectAtLocation(DURATION_TYPE_INSTANT, EffectVisualEffect(VFX_IMP_UNSUMMON), GetLocation(oTarget));
}