IsBeingRiddenBy - Actor

From the Fallout4 CreationKit Wiki
Revision as of 11:44, 18 August 2014 by imported>3Nd R1m (Created page with "Category:Scripting Category:Papyrus '''Member of:''' Actor Script Check if this actor is being ridden by another actor. == Syntax == <source lang="papyrus"> bool Fu...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Member of: Actor Script

Check if this actor is being ridden by another actor.

Syntax[edit | edit source]

bool Function IsBeingRiddenBy(Actor akActor) native

Parameters[edit | edit source]

  • akActor: The actor we'd like to see if they are riding on the actor this function is called on

Return Value[edit | edit source]

True if akActor is riding this actor, false if not

Examples[edit | edit source]

; Is the player riding the vertibird?
if Vertibird.IsBeingRiddenBy(Game.GetPlayer())
  Debug.Trace("The player is riding the vertibird!")
endIf

See Also[edit | edit source]