Streetboat
Posting Freak
Posts: 1,099
Threads: 40
Joined: Mar 2011
Reputation:
56
|
Attachments remain before and after entity active
As the title said, I added some attachments to the brute model, and I'm pretty pleased with the end result for a more gruesome version of the monster, but I ran into a problem: the attachments (particle systems, lights, and billboards) all remain active within the level even when the monster isn't made active yet! Is there a way to work around this?
(This post was last modified: 06-05-2012, 08:50 PM by Streetboat.)
|
|
06-05-2012, 06:58 AM |
|
palistov
Posting Freak
Posts: 1,208
Threads: 67
Joined: Mar 2011
Reputation:
57
|
RE: Attachments remain before and after entity active
Assuming the brute is named "streetbrute", try setting "streetbrute_PointLight_1" invisible, for example. Connect billboards to lights, which you set inactive via the aforementioned method. As for particles, I don't think you can attach them to anything, so you might be S.O.L. there.
|
|
06-05-2012, 07:02 AM |
|
Streetboat
Posting Freak
Posts: 1,099
Threads: 40
Joined: Mar 2011
Reputation:
56
|
RE: Attachments remain before and after entity active
Brilliant, that worked perfectly. Now, the only problem is that sometimes the monsters despawn when they're out of the player's line of sight, thus still having the floating lights. How can I control whether or not they despawn when in sight?
|
|
06-05-2012, 02:56 PM |
|
Your Computer
SCAN ME!
Posts: 3,456
Threads: 32
Joined: Jul 2011
Reputation:
235
|
|
06-05-2012, 04:57 PM |
|
Streetboat
Posting Freak
Posts: 1,099
Threads: 40
Joined: Mar 2011
Reputation:
56
|
RE: Attachments remain before and after entity active
Fixed it. Thank you.
|
|
06-05-2012, 08:50 PM |
|