PRC8_fork/trunk/psionics/prc_temp_con.nss
Jaysyn904 1662218bb4 Initial upload.
Adding base PRC 4.19a files to repository.
2022-10-07 13:51:24 -04:00

13 lines
454 B
Plaintext

#include "prc_alterations"
void main()
{
object oTarget = GetLastSpeaker();
AssignCommand(OBJECT_SELF, SpeakString("Get thee gone, before I tempt thee again, fool."));
object oWP = GetWaypointByTag("prc_runrunrun");
AssignCommand(oTarget, ActionForceMoveToLocation(GetLocation(oWP), TRUE, 10.0));
effect eVis = EffectVisualEffect(VFX_DUR_MIND_AFFECTING_FEAR);
ApplyEffectToObject(DURATION_TYPE_TEMPORARY, eVis, oTarget, 7.0);
}