Results 1 to 10 of 19

Thread: Fwatch General Scripting

Hybrid View

  1. #1
    Quote Originally Posted by Faguss View Post
    You can also use Fwatch 1.1 to detect & set player animation.

    I can't think of any other method. Finding unit structure and acquiring stance value is beyond my reach.
    Do you mean mem getplayeranim command?
    Sorry if I misunderstood this command, but does it return the name of animation that is currently being played?

    If so could this be used to check unit stance by checking what kind of stance (animation group of some stance) the currently played animation belongs to?
    Last edited by Icarus; Nov 27 2011 at 19:22.

  2. #2
    It returns a number. Details are in the documentation. Usage is quite problematic. Example:
    Code:
    ;only original config
    _lying=false
    _animCODE = call loadFile ":mem getplayeranim"
    ? _animCODE in [0,14,32,36,39,40,41,252] || _animCODE>=71 && _animCODE<=82 || _animCODE>=165 && _animCODE<=236 : _lying=true
    Last edited by Faguss; Dec 1 2011 at 15:06.
    -------------

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •