Further file organization

Further file organization
This commit is contained in:
Jaysyn904
2023-08-23 22:11:00 -04:00
parent 3062876237
commit d87fe14826
22364 changed files with 0 additions and 3253 deletions

View File

@@ -0,0 +1,45 @@
/*:://////////////////////////////////////////////
//:: 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();
}