IsBeingRiddenBy - Actor
Member of: Actor Script
Check if this actor is being ridden by another actor.
SyntaxEdit
bool Function IsBeingRiddenBy(Actor akActor) native
ParametersEdit
- akActor: The actor we'd like to see if they are riding on the actor this function is called on
Return ValueEdit
True if akActor is riding this actor, false if not
ExamplesEdit
; Is the player riding the vertibird?
if Vertibird.IsBeingRiddenBy(Game.GetPlayer())
Debug.Trace("The player is riding the vertibird!")
endIf