Uses IF...

Example:

Var choosen;

Function Which_is_chosen
{
if(chosen==1)
{
Var1+=Var2;
}

if(chosen==2)
{
Var1-=Var2;
}

.
.
.
}

Very simple, maybe this is enough for your calc.


cYa Sebastian


Tutorials:
[Blender]Terrain creation ENG/GER
[Blender]Low Poly Tree Modeling
[GIMP]Create a Texture for Terrains
CLICK HERE