Frictional Games Forum (read-only)

Full Version: How To Make Invisible Decals?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
(02-18-2012, 03:43 AM)Thegood Wrote: [ -> ]Is it possible to use billboards and have those activate/deactivate?

Billboards behave differently than decals, but you cannot deactivate billboards as you would an entity, you can only turn off the light they're connected to.
so if you made it so the light went from full brightness to full darkness, the billboard would appear and then disappear?
(02-18-2012, 03:48 AM)Thegood Wrote: [ -> ]so if you made it so the light went from full brightness to full darkness, the billboard would appear and then disappear?

Yeah, though you can also use SetLightVisible.
Alright thanks, ill see how well that works out.
Rgh... Can I get help on coding this, or atleast a link to a tutorial? the name of the billboards are "Billboard1"-"Billboard4", and the light is "BillboardLight1".
Go into the note in the level editor and go to the Entity tab and fill in the PlayerInteractCallback with "NDfunc" (NoteDecalFunction in my eyes). Then, anywhere in the script besides OnStart, OnLeave, or OnEnter, put this:

void NDfunc(string &in asEntity)
{
SetLightVisible("BillboardLight1", true);
}
It didn't work, should i set the billboards/light to a specific setting for this to work?

Nevermind lol. I forgot to put the "SetLightVisible("BillboardLight1", false);" in the void OnStart XD thanks for the help.
Pages: 1 2