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
3 registered members (AndrewAMD, alibaba, TipmyPip), 1,144 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
.visble does not work #129768
05/14/07 13:35
05/14/07 13:35
Joined: May 2007
Posts: 30
F
fusukery Offline OP
Newbie
fusukery  Offline OP
Newbie
F

Joined: May 2007
Posts: 30
I am making a script, that when press a button, the entity will disappear and reappear, the entity pointer is working now, but .visible parameter doesnot work. I also have tested .visible without any function, but it bring nothing
my script here

Code:

Entity* obj_labo;

var labo_appear = 0;

Action act_labo
{
obj_labo = my;
}


function fcnt_labo()
{
if (labo_appear == 0)
{
//obj_labo.material = crome;
obj_labo.visible = off;
obj_labo.passable = off;
labo_appear = 1;
}
else
{
obj_labo.visible = off;
obj_labo.passable = on;
labo_appear = 0;
}
}


The entity has the action: act_labo
==
Anyone knows please help

Re: .visble does not work [Re: fusukery] #129769
05/14/07 14:00
05/14/07 14:00
Joined: Jan 2004
Posts: 2,013
The Netherlands
E
Excessus Offline
Expert
Excessus  Offline
Expert
E

Joined: Jan 2004
Posts: 2,013
The Netherlands
use .invisible for entities.

Re: .visble does not work [Re: Excessus] #129770
05/14/07 15:48
05/14/07 15:48
Joined: May 2007
Posts: 30
F
fusukery Offline OP
Newbie
fusukery  Offline OP
Newbie
F

Joined: May 2007
Posts: 30
tks. it works now


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