Gamestudio Links
Zorro Links
Newest Posts
Zorro Trader GPT
by TipmyPip. 04/27/24 13:50
Trading Journey
by 7th_zorro. 04/27/24 04:42
Help with plotting multiple ZigZag
by M_D. 04/26/24 20:03
Data from CSV not parsed correctly
by jcl. 04/26/24 11:18
M1 Oversampling
by jcl. 04/26/24 11:12
Why Zorro supports up to 72 cores?
by jcl. 04/26/24 11:09
Eigenwerbung
by jcl. 04/26/24 11:08
MT5 bridge not working on MT5 v. 5 build 4160
by EternallyCurious. 04/25/24 20:49
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (AndrewAMD, 1 invisible), 770 guests, and 6 spiders.
Key: Admin, Global Mod, Mod
Newest Members
wandaluciaia, Mega_Rod, EternallyCurious, howardR, 11honza11
19049 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Get rid of entity pointer #181984
02/04/08 14:29
02/04/08 14:29
Joined: Apr 2006
Posts: 1,551
Netherlands
D3D Offline OP
Serious User
D3D  Offline OP
Serious User

Joined: Apr 2006
Posts: 1,551
Netherlands
Trying to remove a entity from the level after the player has logged out of the online game. Did so with ent_remove, but it still seem to use the pointer. Could someone tell me if I need to remove the pointer with pointer=null after ent_remove, or another way to get rid of it? Don't need a script, just a hint will be fine.


smile
Re: Get rid of entity pointer [Re: D3D] #181985
02/04/08 14:49
02/04/08 14:49
Joined: Jan 2004
Posts: 2,013
The Netherlands
E
Excessus Offline
Expert
Excessus  Offline
Expert
E

Joined: Jan 2004
Posts: 2,013
The Netherlands
Quote:

but it still seem to use the pointer.



What is "it"? If your script is still using the pointer, the most common solution would be to set it to NULL and check everywhere you use it if it's not NULL. Actions and such should be stopped automatically when the entity is removed, so that's of no concern.

Re: Get rid of entity pointer [Re: Excessus] #181986
02/07/08 08:04
02/07/08 08:04
Joined: Apr 2006
Posts: 1,551
Netherlands
D3D Offline OP
Serious User
D3D  Offline OP
Serious User

Joined: Apr 2006
Posts: 1,551
Netherlands
Almost forgot about this post, but I got it fixed now thanks ^^


smile

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