Description
Wiki Description
Check if this actor (which should be a mount with multiple "seats") has any actor sitting in a particular seat or not. Note that this will not work for "vehicle drivers", like actors riding horses.
Documentation Comment
Is the seat that corresponds to the passed in keyword currently occupied?
note: if this is not a mount with multiple seats or apKeyword is not a valid seat, this function will return false
Parameters
KeywordapKeyword
CK Wiki Description
The keyword representing the seat we want to check
Examples
; Does the vertibird currently have a pilot?
if Vertibird.IsSeatOccupied(pilotSeatKeyword)
Debug.Trace("The pilot is seated")
endIfAuto-Generated Example
keyword myKeyword__apKeyword
bool returnedValue = myActor__toCallFunctionOn.IsSeatOccupied(myKeyword__apKeyword)Related Pages
Additional References
View this function’s page on the Fallout 4 Creation Kit Wiki
