24 lines
490 B
Plaintext
24 lines
490 B
Plaintext
/* Script generated by
|
|
Lilac Soul's NWN Script Generator, v. 1.6
|
|
|
|
For download info, please visit:
|
|
http://www.lilacsoul.revility.com */
|
|
|
|
//Put this OnEnter
|
|
void main()
|
|
{
|
|
|
|
object oPC = GetEnteringObject();
|
|
|
|
if (!GetIsPC(oPC)) return;
|
|
|
|
effect eEffect;
|
|
eEffect = EffectDamage(50, DAMAGE_TYPE_BLUDGEONING, DAMAGE_POWER_NORMAL);
|
|
|
|
ApplyEffectToObject(DURATION_TYPE_INSTANT, eEffect, oPC);
|
|
|
|
SendMessageToPC(oPC, "Opps you lose your footing and fall hitting your head - try the bridge!");
|
|
|
|
}
|
|
|