Further file organization
Further file organization
This commit is contained in:
15
nwn/nwnprc/trunk/psionics/prc_temp_ent.nss
Normal file
15
nwn/nwnprc/trunk/psionics/prc_temp_ent.nss
Normal file
@@ -0,0 +1,15 @@
|
||||
#include "prc_alterations"
|
||||
void main()
|
||||
{
|
||||
if (GetIsPC(GetEnteringObject()))
|
||||
{
|
||||
|
||||
effect eVis = EffectVisualEffect(VFX_FNF_SUMMON_GATE);
|
||||
object oWP = GetWaypointByTag("prc_temptation");
|
||||
ApplyEffectAtLocation(DURATION_TYPE_INSTANT, eVis, GetLocation(oWP));
|
||||
object oCreature = CreateObject(OBJECT_TYPE_CREATURE, "PRC_Temptation", GetLocation(oWP));
|
||||
|
||||
AssignCommand(GetEnteringObject(), SpeakString("Here stands all the temptations of my life, that which has brought me low."));
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user