Updated Release Archive. Fixed Mage-killer prereqs. Removed old LETO & ConvoCC related files. Added organized spell scroll store. Fixed Gloura spellbook. Various TLK fixes. Reorganized Repo. Removed invalid user folders. Added DocGen back in.
42 lines
1.1 KiB
Plaintext
42 lines
1.1 KiB
Plaintext
void Debug(string sString)
|
|
{
|
|
SendMessageToPC(GetFirstPC(), sString);
|
|
}
|
|
|
|
|
|
|
|
void main()
|
|
{
|
|
object oMaster = GetMaster();
|
|
// Spawn of summon
|
|
Debug("Spawn Script: Spawned (My Name: " + GetName(OBJECT_SELF) + ". Tag: " + GetTag(OBJECT_SELF) + ". ResRef: " + GetResRef(OBJECT_SELF));
|
|
|
|
SetIsDestroyable(FALSE);
|
|
DelayCommand(0.01, SetIsDestroyable(TRUE));
|
|
|
|
// Debug properties
|
|
Debug("Master: " + GetName(oMaster));
|
|
Debug("My 'Type of companion': " + IntToString(GetAssociateType(OBJECT_SELF)));
|
|
|
|
|
|
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);
|
|
}
|
|
|
|
}
|