Initial upload

Initial upload
This commit is contained in:
Jaysyn904
2022-10-07 14:20:31 -04:00
parent 0bbbd2678a
commit 128e7e59a4
7060 changed files with 4955665 additions and 0 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_WORSHIP, 2.0, 6.0));
DelayCommand(2.2, ApplyEffectToObject(DURATION_TYPE_PERMANENT, eFreeze, oTarget));
//DelayCommand(2.5, SetCommandable(FALSE, oTarget));
}