Initial commit. Updated release archive.
This commit is contained in:
30
_module/nss/at_inqcatadestry.nss
Normal file
30
_module/nss/at_inqcatadestry.nss
Normal file
@@ -0,0 +1,30 @@
|
||||
#include "nw_i0_tool"
|
||||
|
||||
|
||||
/* 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 OnDeath
|
||||
void main()
|
||||
{
|
||||
|
||||
object oTarget;
|
||||
oTarget = GetObjectByTag("it_InqCatapult");
|
||||
|
||||
ApplyEffectAtLocation(DURATION_TYPE_INSTANT, EffectVisualEffect(VFX_IMP_FLAME_M), GetLocation(oTarget));
|
||||
|
||||
oTarget = GetObjectByTag("catapult_o");
|
||||
|
||||
DestroyObject(oTarget, 3.0);
|
||||
|
||||
object oPC = GetLastKiller();
|
||||
|
||||
if (!GetIsPC(oPC)) return;
|
||||
|
||||
RewardPartyXP(50, oPC, TRUE);
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user