PRC8/nwn/nwnprc/trunk/smp/999_summon1.nss
Jaysyn904 6ec137a24e Updated AMS marker feats
Updated AMS marker feats.  Removed arcane & divine marker feats.  Updated Dread Necromancer for epic progression. Updated weapon baseitem models.  Updated new weapons for crafting & npc equip.
 Updated prefix.  Updated release archive.
2024-02-11 14:01:05 -05:00

36 lines
966 B
Plaintext

void Debug(string sString)
{
SendMessageToPC(GetFirstPC(), sString);
}
void main()
{
object oMaster = GetMaster();
// heartbeat of summon
Debug("Heartbeat script Id: " + ObjectToString(OBJECT_SELF) + ". Name: " + GetName(OBJECT_SELF) + ". Tag: " + GetTag(OBJECT_SELF) + ". ResRef: " + GetResRef(OBJECT_SELF));
// Debug properties
Debug("Master: " + GetName(oMaster));
Debug("Effects Debug");
effect eCheck = GetFirstEffect(OBJECT_SELF);
while(GetIsEffectValid(eCheck))
{
Debug("Effect: " + IntToString(GetEffectType(eCheck)) + ". Creator: " + GetName(GetEffectCreator(eCheck)) + ".");
eCheck = GetNextEffect(OBJECT_SELF);
}
// Master effects
eCheck = GetFirstEffect(oMaster);
while(GetIsEffectValid(eCheck))
{
Debug("Effect: " + IntToString(GetEffectType(eCheck)) + ". Creator: " + GetName(GetEffectCreator(eCheck)) + ".");
eCheck = GetNextEffect(oMaster);
}
}