31 lines
661 B
Plaintext
31 lines
661 B
Plaintext
|
#include "nw_i0_generic"
|
||
|
/* 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 on action taken in the conversation editor
|
||
|
void main()
|
||
|
{
|
||
|
|
||
|
object oPC = GetPCSpeaker();
|
||
|
|
||
|
object oTarget;
|
||
|
object oSpawn;
|
||
|
oTarget = oPC;
|
||
|
|
||
|
oSpawn = CreateObject(OBJECT_TYPE_CREATURE, "golclay001", GetLocation(oTarget));
|
||
|
|
||
|
oTarget = oSpawn;
|
||
|
|
||
|
SetIsTemporaryEnemy(oPC, oTarget);
|
||
|
|
||
|
AssignCommand(oTarget, ActionAttack(oPC));
|
||
|
|
||
|
AssignCommand(oTarget, DetermineCombatRound(oPC));
|
||
|
|
||
|
ApplyEffectAtLocation(DURATION_TYPE_INSTANT, EffectVisualEffect(VFX_IMP_FLAME_M), GetLocation(oTarget));
|
||
|
|
||
|
}
|