Hi, I want to understand how the syntax used in the insects and windclutter classes work:
<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">cost = "(9 + (2 * houses)) * (1 - night) * (1 - rain) * (1 - sea) * (1 - windy)";[/QUOTE]
<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">probability = "5 - (meadow * 0.5) + (forest * 0.4)";[/QUOTE]
HOME 
Reply With Quote
however I'll leave my answer up for others to read.