Method SetAgentBehaviour
SetAgentBehaviour(RideID, IRideBehaviour)
Sets the agent to use the given behaviour
Declaration
public RideID SetAgentBehaviour(RideID agentId, IRideBehaviour behaviour)
Parameters
Type | Name | Description |
---|---|---|
RideID | agentId | the agent to control |
IRideBehaviour | behaviour | the behaviour the agent will use |
Returns
Type | Description |
---|---|
RideID |