IsSprinting - Actor

From the Fallout4 CreationKit Wiki
Revision as of 09:56, 30 November 2010 by imported>Plplecuyer (Created page with 'Category:Scripting Category:Papyrus '''Member of:''' Actor Script Checks to see if this actor is currently sprinting. == Syntax == <source lang="papyrus"> bool Func…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Member of: Actor Script

Checks to see if this actor is currently sprinting.

Syntax[edit | edit source]

bool Function IsSprinting() native

Parameters[edit | edit source]

None.

Return Value[edit | edit source]

Whether this actor is sprinting.

Examples[edit | edit source]

if Game.GetPlayer().IsSprinting()
  Debug.Trace("Careful, you might trip and hurt yourself!")
endIf

See Also[edit | edit source]