Soldier.setPlayer 6

Force a soldier to be controlled by the player. Notice: This only works for soldiers and AIs that have been spawned (or are controlled) by current player's machine


Return value

Return TypeDescription
voidThis function doesn't return anything

No parameters defined for this function.


Examples

No examples available.


Back to Scripting API