Initial module commit
Initial module commit.
This commit is contained in:
23
_module/nss/baneenter.nss
Normal file
23
_module/nss/baneenter.nss
Normal file
@@ -0,0 +1,23 @@
|
||||
/* Script generated by
|
||||
Lilac Soul's NWN Script Generator, v. 2.1
|
||||
|
||||
For download info, please visit:
|
||||
http://nwvault.ign.com/View.php?view=Other.Detail&id=4683&id=625 */
|
||||
|
||||
//Put this OnEnter
|
||||
void main()
|
||||
{
|
||||
|
||||
object oPC = GetEnteringObject();
|
||||
|
||||
if (!GetIsPC(oPC)) return;
|
||||
|
||||
object oCaster;
|
||||
oCaster = OBJECT_SELF;
|
||||
|
||||
object oTarget;
|
||||
oTarget = oPC;
|
||||
|
||||
AssignCommand(oCaster, ActionCastSpellAtObject(SPELL_BANE, oTarget, METAMAGIC_ANY, TRUE, 1, PROJECTILE_PATH_TYPE_DEFAULT, TRUE));
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user