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
Inactive lights emitting light
eagledude4 Offline
Member

Posts: 144
Threads: 14
Joined: Dec 2011
Reputation: 0
#13
RE: Inactive lights emitting light

I already have a script file, and the correct functions for activating the point lights. I was trying to ask for more detail on how to use the callbackfunc box in the editor to run a the below function:

void cornerlight(string &in asEntity, string &in OnIgnite) {
    SetLightVisible("hallway_light", true);
}

I want to avoid having a SetEntityCallbackFunc for each light in the script file itself. AKA Get rid of:
SetEntityCallbackFunc("candlestick_wall_5", "cornerlight");
SetEntityCallbackFunc("candlestick_wall_6", "cornerlight");

Sorry for being unclear.

Its hard to see the truth when you've been blinded by lies.
(This post was last modified: 03-24-2013, 08:54 AM by eagledude4.)
03-24-2013, 08:10 AM
Find


Messages In This Thread
Inactive lights emitting light - by eagledude4 - 03-24-2013, 12:58 AM
RE: Inactive lights emitting light - by eagledude4 - 03-24-2013, 08:10 AM
RE: Inactive lights emitting light - by NaxEla - 03-24-2013, 08:48 AM



Users browsing this thread: 1 Guest(s)