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.
46 lines
1.3 KiB
Plaintext
46 lines
1.3 KiB
Plaintext
/*:://////////////////////////////////////////////
|
|
//:: Name Summon Monster - On Spawn
|
|
//:: FileName SMP_AI_Summ_Spwn
|
|
//:://////////////////////////////////////////////
|
|
On Spawn.
|
|
|
|
Most local variables (AI script, default settings, ETC) are set
|
|
directly.
|
|
|
|
Listening patterns are set here.
|
|
|
|
Notes on Summoned Creatures:
|
|
|
|
- AI:
|
|
The AI is very basic. Cirtain special integers can be set for spells and
|
|
feats, or even the custom AI file set to the string PHSAI_SUMMON_AI_FILE.
|
|
|
|
- Listening:
|
|
Most monsters will not be able to pick locks, but may bash them, and traps
|
|
can be set to walk over or not (as the default AI does).
|
|
|
|
They will only listen to a masters orders.
|
|
|
|
- Attacking:
|
|
The master can make them force attack a cirtain target (probably via. a new
|
|
spell like-unique-power
|
|
//:://////////////////////////////////////////////
|
|
//:: Created By: Jasperre
|
|
//::////////////////////////////////////////////*/
|
|
|
|
#include "SMP_AI_INCLUDE"
|
|
|
|
void main()
|
|
{
|
|
// Get ourself
|
|
object oSelf = OBJECT_SELF;
|
|
|
|
// Set our destroyable status to FALSE for 0.001 seconds.
|
|
SetIsDestroyable(FALSE);
|
|
DelayCommand(0.001, SetIsDestroyable(TRUE, FALSE, FALSE));
|
|
|
|
// Sets up the special henchmen listening patterns
|
|
SetListening(OBJECT_SELF, TRUE);
|
|
SetAssociateListenPatterns();
|
|
}
|