Method ModifyAgentHealth
ModifyAgentHealth(RideID, Single)
Takes the agents health and adds the newHealthValue to the health
Declaration
public void ModifyAgentHealth(RideID agentId, float modification)
Parameters
Type | Name | Description |
---|---|---|
RideID | agentId | the agent whose health is being adjusted |
System.Single | modification | the value for which to add to the agent.health += newHealthValue |