IsBeingRiddenBy - Actor
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