Mod:Creation Kit/IsBeingRiddenBy - Actor

Member of: Mod:Creation Kit/Actor Script

Check if this actor is being ridden by another actor.

Syntax
bool Function IsBeingRiddenBy(Actor akActor) native

Parameters

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

Return Value
True if akActor is riding this actor, false if not

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