[SCRIPT] Setting Billboard Inactive - Printable Version +- Frictional Games Forum (read-only) (https://www.frictionalgames.com/forum) +-- Forum: Amnesia: The Dark Descent (https://www.frictionalgames.com/forum/forum-6.html) +--- Forum: Custom Stories, TCs & Mods - Development (https://www.frictionalgames.com/forum/forum-38.html) +---- Forum: Development Support (https://www.frictionalgames.com/forum/forum-39.html) +---- Thread: [SCRIPT] Setting Billboard Inactive (/thread-15162.html) |
Setting Billboard Inactive - heyitsrobert97 - 04-29-2012 Hi, I Need to Make A Billboard be inactive then when i collide with an area it activate i looked but i don't think there is a script for it. does anyone know how? RE: Setting Billboard Inactive - Your Computer - 04-29-2012 One way to do it: attach the billboard to a light and then turn off the light. RE: Setting Billboard Inactive - heyitsrobert97 - 04-29-2012 (04-29-2012, 09:06 AM)Your Computer Wrote: One way to do it: attach the billboard to a light and then turn off the light.I Did it and also added the setlightvisible false script into hps. then setlightvisible true into the collide area script but the light is still active? I also Set the Light Inactive in the level editor. Is it Because Its A Boxlight. If it is that i will just create a tiny pointlight somewhere and have that set to active when you collide instead and leave the boxlight active RE: Setting Billboard Inactive - Your Computer - 04-29-2012 I don't think the type of light matters. If it doesn't work, then you should verify if the collide callback is being triggered, compare the name of the light in the script with the name of the light in the level editor, etc. Fading the light to black should also work. RE: Setting Billboard Inactive - heyitsrobert97 - 04-29-2012 got it working. for some reason it would not connect to the box light. so i just made 2 small pointlights and connected 1 each to 1 billboard. and the boxlight to nothing. then all 3 lights and 2 billboards activated when i walked into the script area |