Initial commit. Updated release archive.
This commit is contained in:
31
_module/nss/glyph_knckdwn.nss
Normal file
31
_module/nss/glyph_knckdwn.nss
Normal file
@@ -0,0 +1,31 @@
|
||||
/* Script generated by
|
||||
Lilac Soul's NWN Script Generator, v. 1.5
|
||||
|
||||
For download info, please visit:
|
||||
http://www.lilacsoul.revility.com */
|
||||
|
||||
//Put this OnEnter
|
||||
void main()
|
||||
{
|
||||
|
||||
object oPC = GetEnteringObject();
|
||||
|
||||
if (!GetIsPC(oPC)) return;
|
||||
|
||||
if (GetItemPossessedBy(oPC, "tlk_demonglyph")== OBJECT_INVALID)
|
||||
return;
|
||||
|
||||
object oTarget;
|
||||
oTarget = oPC;
|
||||
|
||||
effect eEffect;
|
||||
eEffect = EffectKnockdown();
|
||||
|
||||
ApplyEffectToObject(DURATION_TYPE_TEMPORARY, eEffect, oTarget, 5.0f);
|
||||
|
||||
oTarget = oPC;
|
||||
|
||||
FloatingTextStringOnCreature("The force from your bag knocks you over. It must have reacted from something nearby.", oPC);
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user