Initial upload
Initial upload
This commit is contained in:
27
_module/nss/at_dm_4caves.nss
Normal file
27
_module/nss/at_dm_4caves.nss
Normal file
@@ -0,0 +1,27 @@
|
||||
/* 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_4caves_portal");
|
||||
|
||||
DelayCommand(3.0, AssignCommand(oPC, ActionJumpToObject(oTarget)));
|
||||
|
||||
oTarget = oPC;
|
||||
|
||||
ApplyEffectAtLocation(DURATION_TYPE_INSTANT, EffectVisualEffect(VFX_IMP_UNSUMMON), GetLocation(oTarget));
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user