Gamestudio Links
Zorro Links
Newest Posts
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 (7th_zorro), 1,390 guests, and 2 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
How to start a button_toggle on the ON position #468549
10/09/17 16:58
10/09/17 16:58
Joined: Apr 2002
Posts: 1,246
ny
jumpman Offline OP
Serious User
jumpman  Offline OP
Serious User

Joined: Apr 2002
Posts: 1,246
ny
Hello!

How do I start a button_toggle panel button to default to the ON position, instead of the off position?

Re: How to start a button_toggle on the ON position [Re: jumpman] #468550
10/09/17 17:19
10/09/17 17:19
Joined: Oct 2008
Posts: 681
Germany
Ayumi Online
User
Ayumi  Online
User

Joined: Oct 2008
Posts: 681
Germany
hey,

Code:
button_state(GetWeaponPan, wp.Id, OFF);


Re: How to start a button_toggle on the ON position [Re: Ayumi] #468553
10/09/17 17:45
10/09/17 17:45
Joined: Apr 2002
Posts: 1,246
ny
jumpman Offline OP
Serious User
jumpman  Offline OP
Serious User

Joined: Apr 2002
Posts: 1,246
ny
Ayumi! Thank you, that worked! Forgive me, I see that link for button_state in the manual :|


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