Added ACP v4.1

Added ACP v4.1. Full compile.  Updated module name.  Updated release archive.
This commit is contained in:
Jaysyn904
2024-09-08 18:23:43 -04:00
parent d8c9dd6e90
commit 4dba880acb
2690 changed files with 1034142 additions and 27131 deletions

View File

@@ -0,0 +1,32 @@
void main()
{
object oTarget = OBJECT_SELF;
//-- reset routine to string anims
//-- note, will remove all vfx!
SetCommandable(TRUE, oTarget);
AssignCommand(oTarget, ClearAllActions());
effect eFX = GetFirstEffect(oTarget);
while (GetIsEffectValid(eFX))
{
if(GetEffectType(eFX) == EFFECT_TYPE_VISUALEFFECT)
{
RemoveEffect(oTarget, eFX);
}
eFX = GetNextEffect(oTarget);
}
//-- anim started and frozen. target frozen (not commandable)
effect eFreeze = EffectVisualEffect(VFX_DUR_FREEZE_ANIMATION);
AssignCommand(oTarget, ClearAllActions());
AssignCommand(oTarget, PlayAnimation(ANIMATION_LOOPING_CONJURE2, 1.0, 3.0));
DelayCommand(0.5, ApplyEffectToObject(DURATION_TYPE_PERMANENT, eFreeze, oTarget));
//DelayCommand(1.2, SetCommandable(FALSE, oTarget));
}