Gamestudio Links
Zorro Links
Newest Posts
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
Release 2.68 replacement of the .par format
by Martin_HH. 09/23/25 20:48
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
0 registered members (), 18,175 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
a simple script please! #314176
03/06/10 12:35
03/06/10 12:35
Joined: Feb 2010
Posts: 457
Norfolk,England
mikaldinho Offline OP
Senior Member
mikaldinho  Offline OP
Senior Member

Joined: Feb 2010
Posts: 457
Norfolk,England
i am making a calculator in 3dgs , but i do not know how to make /,* + and - available at the same time, so you can pick any one of them and it would do that piece of code.

any help would be grateful.

Re: a simple script please! [Re: mikaldinho] #314179
03/06/10 12:58
03/06/10 12:58
Joined: Apr 2005
Posts: 3,076
Germany, NRW
rvL_eXile Offline

3D Artist
rvL_eXile  Offline

3D Artist

Joined: Apr 2005
Posts: 3,076
Germany, NRW
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


Re: a simple script please! [Re: rvL_eXile] #314184
03/06/10 14:11
03/06/10 14:11
Joined: Feb 2010
Posts: 457
Norfolk,England
mikaldinho Offline OP
Senior Member
mikaldinho  Offline OP
Senior Member

Joined: Feb 2010
Posts: 457
Norfolk,England
thanks Sebastian

i only needed that small piece of code to finish off my calculator school project


Gamestudio download | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1