Hexnibbler
Recruit
Is there any plan to adds method "SetTargetAgent" to the "Agent" class ?
There is a GetTargetAgent (that is a pointer to an engine method sets by the engine itself)
Alternatively, if for some reason such a write operation is not feasible : a delegate called by the engine when it is safe to overwrite its own internal TargetAgent.
I.E instead of a Agent.SetTargetAgent, a AgentPtr Agent.OnTargetSet() called by the engine, so that modders can modify the TargetAgent by implementing it and returning the value they wish the engine would use as a target.
Thanks.
There is a GetTargetAgent (that is a pointer to an engine method sets by the engine itself)
Alternatively, if for some reason such a write operation is not feasible : a delegate called by the engine when it is safe to overwrite its own internal TargetAgent.
I.E instead of a Agent.SetTargetAgent, a AgentPtr Agent.OnTargetSet() called by the engine, so that modders can modify the TargetAgent by implementing it and returning the value they wish the engine would use as a target.
Thanks.