Method GetAgents
GetAgents()
Returns an traversable container of all the agents in a scenario
Declaration
IEnumerable<RideID> GetAgents()
Returns
Type |
Description |
IEnumerable<RideID> |
a list of all agents
|
GetAgents(RideID)
Returns an traversable container of all the agents in a scenario
Declaration
IEnumerable<RideID> GetAgents(RideID scenarioId)
Parameters
Type |
Name |
Description |
RideID |
scenarioId |
|
Returns
Type |
Description |
IEnumerable<RideID> |
a list of all agents
|
GetAgents(Team)
gets all the agents on one specific team
Declaration
IEnumerable<RideID> GetAgents(Team team)
Parameters
Type |
Name |
Description |
Team |
team |
the team to get the agents on
|
Returns
Type |
Description |
IEnumerable<RideID> |
all of the agents from the team passed in
|
GetAgents(RideID, Team)
gets all the agents on one specific team
Declaration
IEnumerable<RideID> GetAgents(RideID scenarioId, Team team)
Parameters
Type |
Name |
Description |
RideID |
scenarioId |
|
Team |
team |
the team to get the agents on
|
Returns
Type |
Description |
IEnumerable<RideID> |
all of the agents from the team passed in
|
GetAgents(RideVector3, Single)
Returns all the agents within a certain range
Declaration
IEnumerable<RideID> GetAgents(RideVector3 center, float radius)
Parameters
Type |
Name |
Description |
RideVector3 |
center |
|
System.Single |
radius |
|
Returns
Type |
Description |
IEnumerable<RideID> |
|
GetAgents(RideID, RideVector3, Single)
Returns all the agents within a certain range
Declaration
IEnumerable<RideID> GetAgents(RideID scenarioId, RideVector3 center, float radius)
Parameters
Returns
Type |
Description |
IEnumerable<RideID> |
|
GetAgents(RideVector3, Single, Team)
Return all agents of a certain team within a range
Declaration
IEnumerable<RideID> GetAgents(RideVector3 center, float radius, Team team)
Parameters
Returns
Type |
Description |
IEnumerable<RideID> |
|
GetAgents(RideID, RideVector3, Single, Team)
Return all agents of a certain team within a range
Declaration
IEnumerable<RideID> GetAgents(RideID scenarioId, RideVector3 center, float radius, Team team)
Parameters
Returns
Type |
Description |
IEnumerable<RideID> |
|