# OrderSetPlayer
Flags —
Native
# Arguments
order
— inOrderint
— inPlayer
Returns — void
native void OrderSetPlayer(order inOrder, int inPlayer);
# Related
Category: Unclassified
# Examples
mods/core.sc2mod — base.sc2data/TriggerLibs/Tactical/TacticalAI.galaxy:304
}
ord = Order(cmd);
OrderSetPlayer(ord, player);
return ord;
}
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOMI.galaxy:14246
if ((OrderGetFlag(lv_order, c_cmdQueued) == true)) {
lv_order = Order(OrderGetAbilityCommand(lv_order));
OrderSetPlayer(lv_order,lv_p);
TriggerEnable(TriggerGetCurrent(), false);
lv_i = 1;
mods/starcoop/starcoop.sc2mod — base.sc2data/TriggerLibs/Tactical/TacticalAI.galaxy:304
}
ord = Order(cmd);
OrderSetPlayer(ord, player);
return ord;
}