generated from Jaysyn/ModuleTemplate
25 lines
512 B
Plaintext
25 lines
512 B
Plaintext
/* Script generated by
|
|
Lilac Soul's NWN Script Generator, v. 2.3
|
|
|
|
For download info, please visit:
|
|
/* Script generated by
|
|
Lilac Soul's NWN Script Generator, v. 2.3
|
|
|
|
For download info, please visit:
|
|
http://nwvault.ign.com/View.php?view=Other.Detail&id=4683&id=625 */
|
|
|
|
//Can go OnDamaged, OnDisturbed, OnSpellCastAt, creature heartbeats, etc.
|
|
#include "nw_i0_generic"
|
|
void main()
|
|
{
|
|
|
|
object oPC = GetLastHostileActor();
|
|
|
|
if (!GetIsPC(oPC)) return;
|
|
|
|
SetLocalInt(oPC, "clericattacked", 1);
|
|
|
|
|
|
|
|
}
|