View Single Post
Old 06-28-2013, 11:06 AM   #5
Fallen Guardian
@Fallen Guardian
Wandering the Galaxy...
Fallen Guardian's Avatar
Join Date: Aug 2010
Location: Unknown Regions
Posts: 1,294
Current Game: XCOM 2
Veteran Modder  Helpful! 
Since an animation is an action and is assigned as such, it'd probably be better to call ClearAllActions, but since I can't remember exactly I'll throw in ClearAllEffects as well.

void main()

DelayCommand(1.5, AssignCommand(GetFirstPC(), ClearAllActions()));
DelayCommand(1.5, AssignCommand(GetFirstPC(), ClearAllEffects()));
Of course you can adjust 1.5 to whatever delay you want and it might be prudent to change GetFirstPC to something that would call the object that last activated the armband, if you plan to have more than just the PC be able to meditate on whim.

The truly fallen cannot return to the light. If someone "falls" and "returns," they never really, truly fell.

Current Work in Progress: Dantooine Tension

Released Works
Blaster Pistol Enhancement
Dustil Restoration
Ebon Hawk Texture Enhancement
Gaffi Stick Improvement
Weapon Model Overhaul Texture Rework (Thanks to Toasty Fresh!)
Sunry Murder Recording Enhancement
VP's Hi Poly Tin Cans - KotOR 1 Version
Fallen Guardian is offline   you may: quote & reply,