View Single Post
Old 06-27-2013, 08:25 PM   #2
Qui-Gon Glenn
Necessary Roughneck
 
Qui-Gon Glenn's Avatar
 
Join Date: May 2007
Location: Thessia
Posts: 1,465
Current Game: ME3MP, Arkham Origins
Folder extraordinaire Helpful! Forum Veteran Veteran Modder 
Quote:
Originally Posted by duster View Post
I've been working on an armband that will let me meditate and unmeditate whenever i use it.So far the player goes into the meditation position but also gets back to normal.Can someone tell me what i need to change in my script?

Code:
void main()
{
ActionPlayAnimation( ANIMATION_LOOPING_MEDITATE, 1.0, -1.0);
}
I also tryed a scipt from another mod as a template for this one but it didn't work out.
Show spoiler

Any help would be apreciated.
looping animation should not stop until you ClearAllEffects.

I am away from my office atm, but I would try compiling it with only the -1.0 duration and not including the 1.0, which as a parameter I cannot recall what it is.

This should be simple to fix. Look at my Sith Stalker script which appears early in my Script Shack thread.


Want to play a game of ME3MP?
Qui-Gon_Glenn on the software of which we shall not name.... add me and the enemy shall fall in chunks of crimson salsa
Qui-Gon Glenn is offline   you may: quote & reply,