addController
addController(
authority,addControllerOptions):Entity
Makes a room controller: an entity the room’s own systems drive other
entities through, by control and writeInput, as an NPC racer reads
throttle and steer from it exactly as a player’s kart reads them
from her. It is no player, never streams, and readPlayers leaves it
out; destroying it releases what it controls. An entity it controls is
simulated on the room alone, and reads neutral input on a tick no
system wrote its input for. As Unreal’s AAIController.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
authority |
Authority |
addControllerOptions |
AddControllerOptions |
Returns
Section titled “Returns”Entity