Objective.setSecuredFaction 5

Available from Easy Red 2 2.1.1

Declares which faction actually holds this objective. Without it the engine assumes every held objective belongs to the invaders, so in a symmetric mode an area taken by the defenders would still be drawn in the invaders' colour.Pass an empty string for "nobody holds it".


Return value

Return TypeDescription
voidThis function doesn't return anything

Parameters

ParameterTypeDescription
1stringThe faction holding the objective, or an empty string if it is held by nobody.

Examples

No examples available.


Back to Scripting API