Gamestudio Links
Zorro Links
Newest Posts
Fun Arcade Car Physics (nfs style)
by Ezzett. 08/02/26 21:11
ZorroGPT
by TipmyPip. 07/31/26 22:56
Wolfram Mathematica with Zorro
by TipmyPip. 07/30/26 02:07
What are you working on?
by rayp. 07/24/26 22:58
Z9 getting Error 058
by madpower2000. 07/22/26 14:01
New Zorro version 3.11
by jcl. 07/21/26 13:42
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
2 registered members (VoroneTZ, 1 invisible), 1,738 guests, and 6 spiders.
Key: Admin, Global Mod, Mod
Newest Members
riggi89, shuhari, KD1990, Ephraim, Student_64151
19223 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
how to hide a object? #228525
09/20/08 06:12
09/20/08 06:12
Joined: Sep 2008
Posts: 8
D
dgsj Offline OP
Newbie
dgsj  Offline OP
Newbie
D

Joined: Sep 2008
Posts: 8
Hi all
After i create a entity,how to hide it?
i use this code,but it doesn't work...
//
ENTITY* test;
test= ent_create ("armorknight.MDL", vector(200,-200,-230),NULL);

reset(test,VISIBLE);//<---can't hide it
//

tks

Re: how to hide a object? [Re: dgsj] #228534
09/20/08 09:18
09/20/08 09:18
Joined: Sep 2003
Posts: 5,900
Bielefeld, Germany
Pappenheimer Offline
Senior Expert
Pappenheimer  Offline
Senior Expert

Joined: Sep 2003
Posts: 5,900
Bielefeld, Germany
What do you mean by 'hiding it'? Do you want to remove it, or do you want to make it invisible, or do you want, that the NPCs want to ignore it... wink

Re: how to hide a object? [Re: Pappenheimer] #228549
09/20/08 13:09
09/20/08 13:09
Joined: Aug 2008
Posts: 218
U.S.
GamerX Offline
Member
GamerX  Offline
Member

Joined: Aug 2008
Posts: 218
U.S.
test.flags = INVISIBLE; then to bring it back
test.flags = VISIBLE;

Last edited by GamerX; 09/20/08 13:10.

"You may never know what results come of your action, but if you do nothing there will be no result."
-Mahatma Gandhi
Re: how to hide a object? [Re: GamerX] #228703
09/21/08 19:25
09/21/08 19:25
Joined: Jul 2008
Posts: 1,178
England
M
MrGuest Offline
Serious User
MrGuest  Offline
Serious User
M

Joined: Jul 2008
Posts: 1,178
England
set(test, INVISIBLE);

use wait(1); after spawning it


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