Frictional Games Forum (read-only)

Full Version: Setting Billboard Inactive
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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?
One way to do it: attach the billboard to a light and then turn off the light.
(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
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.
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 areaBig Grin