player.set_round_card_icon

This function sets the round card's icon. If the text passed in differs from that used in the previous frame, then this function will also trigger display of the round card.

The default icon is the game variant file's icon.

Arguments

icon

An icon name

Example

--
-- Relevant code from Invasion:
--
for each player do
   if current_player.team == team[1] then 
      current_player.set_round_card_icon(covenant)
      current_player.set_round_card_text("Elite")
   end
end
for each player do
   if current_player.team == team[0] then 
      current_player.set_round_card_icon(noble)
      current_player.set_round_card_text("Spartan")
   end
end

See also