Does Anyone Run into the method for Agent Despawn?

Users who are viewing this thread

The_Schwarz

Regular
Hey all I am looking for the opposite action of this:

Code:
public Agent SpawnAgent(
      AgentBuildData agentBuildData,
      bool spawnFromAgentVisuals = false,
      int formationTroopCount = 0) {...}

Want to control when an Agent I spawn into a mission fades away and is disposed (Despawns). Basically looking for the method/s that control when a dead body disappears from battle. Been looking for a while now and have not found what I am looking for.

Any ideas would be most appreciated.

Thanks
 
Back
Top Bottom