Back to Recipes Homepage
recipe picture
Recipe: Global Band Strength
5
Your rating: None Average: 5 (1 vote)
Used 35 times with an average impact of 2084 points.

Profile

Name: Global Band Strength
ID: 7002
Created on: Fri, 08/06/2010 - 20:33
Updated on: Fri, 08/06/2010 - 20:33
Description:

Script request from Mat747. Sets the strength of all bands to one value.



Best For


Comments

Joined: 09/18/2009
Groups: SETI.Germany
That's how the code does look like

-- General Band Strength by Crashguard303
-- A script request by Mat747
-- Sets the strength of all existing bands to specifeid value.
-- Default value is 1.

function band_set_strength_all(strength)
local NumBands = get_band_count()
local k
for k = 1 , NumBands do
band_set_strength(k,strength)
end -- k loop
end -- function

band_set_strength_all(1)

Want to try?
Add to Cookbook!
To download recipes to your cookbook, you need to have the game client running.
Parent
Children
Authors
Sitemap

Developed by: UW Center for Game Science, UW Institute for Protein Design, Northeastern University, Vanderbilt University Meiler Lab, UC Davis
Supported by: DARPA, NSF, NIH, HHMI, Amazon, Microsoft, Adobe, RosettaCommons