Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Is there anyway to trigger a billboard that is connected to a light?
Daemian Offline
Posting Freak

Posts: 1,129
Threads: 42
Joined: Dec 2012
Reputation: 49
#2
RE: Is there anyway to trigger a billboard that is connected to a light?

I don't think you need to set the billboards inactive, just turn off the lights connected to them.
SetLightVisible lightname, false


And the callbacks are not working, i guess?
i don't think you can set two callbacks for the same parent+child.
So put them together and try again.

PHP Code: (Select All)
OnStart{
AddEntityCollideCallback("Player""HDR1""HDR1Switch"false0); } 


PHP Code: (Select All)
void HDR1Switch(string &in asParentstring &in asChildint alState)
{     
          if ( 
alState == -) { FadeLightTo("HDR1A_L"10.8620.6551110); }    
          if ( 
alState == ) { FadeLightTo("HDR1B_L"0000010); }


(This post was last modified: 09-03-2013, 11:06 PM by Daemian.)
09-03-2013, 11:03 PM
Find


Messages In This Thread
RE: Is there anyway to trigger a billboard that is connected to a light? - by Daemian - 09-03-2013, 11:03 PM



Users browsing this thread: 1 Guest(s)