Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Activating Compound Objects?
NylePudding Offline
Member

Posts: 77
Threads: 23
Joined: Apr 2011
Reputation: 0
#1
Activating Compound Objects?

It would save an immense amount of time for me if I could activate compound objects.

I tried this -

SetEntityActive("Compound_1", true);

But of course it didn't work. Is there any way I could do this?

Thanks. =]

(This post was last modified: 09-20-2011, 09:10 PM by NylePudding.)
09-20-2011, 09:06 PM
Find
Tanshaydar Offline
From Beyond

Posts: 3,085
Threads: 17
Joined: Mar 2009
Reputation: 67
#2
RE: Activating Compound Objects?

Activate them one by one.

09-20-2011, 09:30 PM
Website Find
MrBigzy Offline
Senior Member

Posts: 616
Threads: 18
Joined: Mar 2011
Reputation: 8
#3
RE: Activating Compound Objects?

Yea, compound objects don't count as entities, so it won't work, even if all the items in the compound are entities; 99% sure about that anyway.

Either way, a better way to activate a bunch of entities at once is to use asterisk wildcards or use arrays.
09-20-2011, 09:34 PM
Find
NylePudding Offline
Member

Posts: 77
Threads: 23
Joined: Apr 2011
Reputation: 0
#4
RE: Activating Compound Objects?

(09-20-2011, 09:34 PM)MrBigzy Wrote: Yea, compound objects don't count as entities, so it won't work, even if all the items in the compound are entities; 99% sure about that anyway.

Either way, a better way to activate a bunch of entities at once is to use asterisk wildcards or use arrays.
Thanks I'll just have to go about it like that. It shouldn't be too much of a problem but it would be useful if you could do what I suggested. Tongue

09-21-2011, 07:06 AM
Find




Users browsing this thread: 2 Guest(s)