Gamestudio Links
Zorro Links
Newest Posts
AlpacaZorroPlugin v1.3.0 Released
by kzhao. 05/20/24 01:28
Free Live Data for Zorro with Paper Trading?
by AbrahamR. 05/18/24 13:28
Change chart colours
by 7th_zorro. 05/11/24 09:25
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
1 registered members (Ayumi), 900 guests, and 4 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Hanky27, firatv, wandaluciaia, Mega_Rod, EternallyCurious
19051 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 2 of 2 1 2
Re: how to create a door opening with a code.. [Re: flutschi] #235057
11/05/08 19:04
11/05/08 19:04
Joined: Nov 2007
Posts: 1,143
United Kingdom
DJBMASTER Offline
Serious User
DJBMASTER  Offline
Serious User

Joined: Nov 2007
Posts: 1,143
United Kingdom
ok you'll need to create the buttons as seperate models, then position them on a keypad model in WED.

for each button, use String1 to store the number that is on the button.
To detect the actual clicking, you can use the EVENT_CLICK and run a function when the event is raised.

The function should get the String1 property (using entity.string1) and append it to a temp string (like my example). Finally check the string against the keypad models' String1 property. If they match, then open the door.

Re: how to create a door opening with a code.. [Re: flutschi] #235071
11/05/08 20:12
11/05/08 20:12
Joined: Nov 2008
Posts: 33
United States
wh1t3_w1d0w Offline
Banned/Warez
wh1t3_w1d0w  Offline
Banned/Warez

Joined: Nov 2008
Posts: 33
United States
Im pretty newbie also. I am trying to figure a little more info that i need to know about how to use shaders. Im not very sure how to use templates right now so Im going to wait a while with the info of an advisor. I am interested in this topic you've posted here so ill stay intuned but right now the only way i think you can fix your problem is to message an expert, or a senior expert. Most people have enough time to give most newbs some help.

-wh1t3 w1d0w


Wh1t3 W1d0w
Re: how to create a door opening with a code.. [Re: DJBMASTER] #235136
11/06/08 06:30
11/06/08 06:30
Joined: Nov 2008
Posts: 53
Switzerland (Luzern)
F
flutschi Offline OP
Junior Member
flutschi  Offline OP
Junior Member
F

Joined: Nov 2008
Posts: 53
Switzerland (Luzern)
yeah, that with the models seperately i know how it works.. but that means for each switch i need to put each button seperately on it? that means, if my level have 4 doors, and i need to put 4 switches on it, and for each switch 9 buttons.. so i need to place 36 buttons.. right?


My System:
Intel Core 2 Duo CPU P8400 @ 2.26 GHz
4 GB Ram
NVIDIA GeForce 9600M GT
32 Bit Windows Vista
***********************************
Gamestudio Pro 7.50 / WED V6.875
Re: how to create a door opening with a code.. [Re: flutschi] #235218
11/06/08 15:17
11/06/08 15:17
Joined: Aug 2008
Posts: 408
mi usa
sadsack Offline
Senior Member
sadsack  Offline
Senior Member

Joined: Aug 2008
Posts: 408
mi usa
Very nice door openning code DJBMASTER
renny


I have A7 Commercial .............. Now I just need to learn how to use it

Page 2 of 2 1 2

Gamestudio download | chip programmers | 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