AiParams.findObjective 27

Find an objective from it's unique Id (network safe).
Useful in case you have to reference a specific objective across different phases or players, based on it's unique Id, for example, passed trough a global variable


Return value

Return TypeDescription
ObjectiveObjective corresponding to the provided Id

Parameters

ParameterTypeDescription
1integerUnique Id of the searched soldier

Examples

No examples available.


Back to Scripting API