Initial commit. Updated release archive.
This commit is contained in:
30
_module/nss/gingerbread.nss
Normal file
30
_module/nss/gingerbread.nss
Normal file
@@ -0,0 +1,30 @@
|
||||
#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));
|
||||
|
||||
}
|
Reference in New Issue
Block a user