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
2 registered members (AndrewAMD, alibaba), 1,184 guests, and 3 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
pan_create function #159338
10/07/07 09:40
10/07/07 09:40
Joined: Aug 2006
Posts: 78
A
amadeu Offline OP
Junior Member
amadeu  Offline OP
Junior Member
A

Joined: Aug 2006
Posts: 78
Hi

I have another question. I created one panel with one button with pan_create function and the panel with the button was created but the parameters "functionOn" did not work in LiteC. It did the same code with c-script(.wdl) and it worked. why? What is the problem with liteC?

my pan_create code is:
Panel* Teste;
...
teste = pan_create("pos_x = 0; pos_y = 550; flags = VISIBLE; button(193,11, button_eyes_d.tga, button_eyes_n.tga, button_eyes_o.tga, fristPerson, NULL, NULL);", 1);

thx

Re: pan_create function [Re: amadeu] #159339
10/07/07 10:51
10/07/07 10:51
Joined: Jul 2001
Posts: 6,904
H
HeelX Offline
Senior Expert
HeelX  Offline
Senior Expert
H

Joined: Jul 2001
Posts: 6,904
I did not tested it, but your sample code seems to have a typo. I guess your function is "firstPerson" instead of "fristPerson".

Re: pan_create function [Re: HeelX] #159340
10/07/07 14:43
10/07/07 14:43
Joined: Aug 2006
Posts: 78
A
amadeu Offline OP
Junior Member
amadeu  Offline OP
Junior Member
A

Joined: Aug 2006
Posts: 78
hi.

I put the same name of function in the pan_create but it did not work.



Re: pan_create function [Re: amadeu] #159341
10/07/07 16:49
10/07/07 16:49
Joined: Jul 2006
Posts: 150
Deutschland/Germany, nahe Hamb...
dennis Offline
Member
dennis  Offline
Member

Joined: Jul 2006
Posts: 150
Deutschland/Germany, nahe Hamb...

Re: pan_create function [Re: dennis] #159342
10/07/07 17:03
10/07/07 17:03
Joined: Aug 2006
Posts: 78
A
amadeu Offline OP
Junior Member
amadeu  Offline OP
Junior Member
A

Joined: Aug 2006
Posts: 78
Yes,
it is my problem, but donīt have solution.


do you know the solution?

Re: pan_create function [Re: amadeu] #159343
10/07/07 17:14
10/07/07 17:14
Joined: Jul 2006
Posts: 150
Deutschland/Germany, nahe Hamb...
dennis Offline
Member
dennis  Offline
Member

Joined: Jul 2006
Posts: 150
Deutschland/Germany, nahe Hamb...

I will post something in the other thread...

Re: pan_create function [Re: dennis] #159344
10/07/07 17:17
10/07/07 17:17
Joined: Aug 2006
Posts: 78
A
amadeu Offline OP
Junior Member
amadeu  Offline OP
Junior Member
A

Joined: Aug 2006
Posts: 78
ok.

i will wait the other thread.

thx

Re: pan_create function [Re: amadeu] #159345
10/08/07 23:11
10/08/07 23:11
Joined: Apr 2006
Posts: 737
Ottawa, Canada
O
Ottawa Offline
User
Ottawa  Offline
User
O

Joined: Apr 2006
Posts: 737
Ottawa, Canada
Hi!

I noticed

Panel* Teste;
...
teste = pan..............

Should teste be Teste = pan......

Ottawa

Re: pan_create function [Re: Ottawa] #159346
10/09/07 10:52
10/09/07 10:52
Joined: Jul 2006
Posts: 150
Deutschland/Germany, nahe Hamb...
dennis Offline
Member
dennis  Offline
Member

Joined: Jul 2006
Posts: 150
Deutschland/Germany, nahe Hamb...

@amadeu:
Does it work now?


Moderated by  HeelX, Lukas, rayp, Rei_Ayanami, Superku, Tobias, TWO, VeT 

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