object.set_progress_bar

Set whether an object displays a progress bar, and who should be able to see it.

Arguments

timer

The word none, or an integer constant indicating the index of an object.timer variable, or a relative alias of an object-timer variable prefixed with object. i.e. object.alias_name.

who

A group of players.

Example

for each object with label "koth_hill" do
   current_object.set_progress_bar(3, everyone)
end

alias capture_timer = object.timer[0]
for each object with label "territory" do
   for each player do
      current_object.set_progress_bar(object.capture_timer, mod_player, current_player, 1)
   end
end

for each object with label "ignore_me" do
   current_object.set_progress_bar(none, everyone)
end

See also