Since engine version: 1.0 OC
Gives a player a construction plan resp. removes the plan if remove is given.
int SetPlrKnowledge(int player, id definition, bool remove);
- Player which receives or loses the construction plan. If nil, the function is executed for all players.
- Id of the definition for which the plan shall be given.
- [opt] If not
false, the plan will be removed from the players knowledge.
var i, id; while (id = GetDefinition(i++)) SetPlrKnowledge(nil, id);
All players are given plans to all loaded objects.