Frictional Games Forum (read-only)
How to activate a billboard? - 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: How to activate a billboard? (/thread-9536.html)



How to activate a billboard? - Janni1234 - 08-01-2011

The Colour of my billboard is 0.An if i walk in a area, my billboard should turn bright and blue.how?


RE: How to activate a billboard? - Tanshaydar - 08-01-2011

Tie them to a light and activate that light.
Otherwise you cannot spawn billboards.


RE: How to activate a billboard? - palistov - 08-01-2011

Have your billboard's diffuse color be the color you want it to turn into: bright blue. Now create a point light somewhere off to the side of your map where the player will not see it. Next, go to the 'Billboard' tab after having it selected, and click the 'Connect' button next to the Connected light name field. Now click on the point light you created.

In your script, call FadeLightTo("connected_point_light", 0, 0, 0, 0, 0, 0); at OnStart(). Then, when you want the billboard to fade in, call FadeLightTo("connected_point_light", 1, 1, 1, 1, 1, X); where X is the fade-in time.

Good luck Smile


RE: How to activate a billboard? - Janni1234 - 08-01-2011

Okay thanks! Smile