Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by jcl. 09/29/25 09:24
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
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
3 registered members (NewbieZorro, TipmyPip, AndrewAMD), 14,749 guests, and 7 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
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 | 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