Difference between revisions of "IsRunning - Actor"

From the CreationKit Wiki
Jump to navigation Jump to search
imported>Jlundin
 
imported>Qqqbbb
 
Line 3: Line 3:
'''Member of:''' [[Actor Script]]
'''Member of:''' [[Actor Script]]


Checks to see if this actor is currently running (as opposed to, say, walking or sprinting).
Checks to see if this actor is currently running (as opposed to, say, walking or sprinting). Does not work if the actor is running backward.


== Syntax ==
== Syntax ==

Latest revision as of 07:20, 29 January 2014

Member of: Actor Script

Checks to see if this actor is currently running (as opposed to, say, walking or sprinting). Does not work if the actor is running backward.

Syntax[edit | edit source]

bool Function IsRunning() native

Parameters[edit | edit source]

None.

Return Value[edit | edit source]

Whether this actor is running.

Examples[edit | edit source]

if !Forrest.IsRunning()
  Debug.Trace("Run, Forrest, Run!")
endIf

See Also[edit | edit source]