Frictional Games Forum (read-only)

Full Version: Activating Compound Objects?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
It would save an immense amount of time for me if I could activate compound objects.

I tried this -

Code:
SetEntityActive("Compound_1", true);

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

Thanks. =]
Activate them one by one.
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)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