Gamestudio Links
Zorro Links
Newest Posts
Free Live Data for Zorro with Paper Trading?
by AbrahamR. 05/18/24 13:28
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
4 registered members (AbrahamR, 7th_zorro, dr_panther, 1 invisible), 702 guests, and 6 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
ent_create_independent() #218046
07/26/08 02:40
07/26/08 02:40
Joined: Oct 2003
Posts: 702
Z
zazang Offline OP
User
zazang  Offline OP
User
Z

Joined: Oct 2003
Posts: 702
Hi

Ok this command is needed when an entity creates a child entity.
Currently with ent_create(),when the parent entity is removed with ent_remove(),then even the child entity stops running its functions.There are so many times we want a certain child entity to keep running its action irrespective of whether the parent is removed or not.
So I wish a similar command to ent_create can be added or maybe
add modes to the existing ent_create like
ent_create(filename,pos,function,mode);
where mode = 1 means linked to parent
mode = 2 no link to parent

Thanks
zazang


I like good 'views' because they have no 'strings' attached..
Re: ent_create_independent() [Re: zazang] #218048
07/26/08 03:39
07/26/08 03:39
Joined: Apr 2006
Posts: 624
DEEP 13
badapple Offline
User
badapple  Offline
User

Joined: Apr 2006
Posts: 624
DEEP 13
this is something i ve never heard before , i would think that
the child entity s removel would be based on its function and
not the removel of the parent entity

Re: ent_create_independent() [Re: badapple] #218060
07/26/08 07:50
07/26/08 07:50
Joined: Oct 2003
Posts: 702
Z
zazang Offline OP
User
zazang  Offline OP
User
Z

Joined: Oct 2003
Posts: 702
Its not "removal"...the entity is not removed,but it just hangs there with its functions terminated.
I hope I'm terribly wrong somewhere and someone can correct me.


I like good 'views' because they have no 'strings' attached..
Re: ent_create_independent() [Re: zazang] #218303
07/27/08 19:39
07/27/08 19:39
Joined: Jan 2003
Posts: 4,615
Cambridge
Joey Offline
Expert
Joey  Offline
Expert

Joined: Jan 2003
Posts: 4,615
Cambridge
i've also never heard of such a behaviour. it must be the function code you're using.

Re: ent_create_independent() [Re: Joey] #218318
07/27/08 21:59
07/27/08 21:59
Joined: Dec 2005
Posts: 116
T
tD_Datura_v Offline
Member
tD_Datura_v  Offline
Member
T

Joined: Dec 2005
Posts: 116
:deleted:
reason=obvious


Re: ent_create_independent() [Re: tD_Datura_v] #219558
08/03/08 09:44
08/03/08 09:44
Joined: Oct 2003
Posts: 702
Z
zazang Offline OP
User
zazang  Offline OP
User
Z

Joined: Oct 2003
Posts: 702
Sorry my bad, it was indeed an ill placed proc_kill that was terminating the fnctions.So I stand corrected smile


I like good 'views' because they have no 'strings' attached..

Moderated by  aztec, Spirit 

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