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
Camera flash script
Apfel Offline
Junior Member

Posts: 19
Threads: 3
Joined: Jun 2011
Reputation: 1
#5
RE: Camera flash script

I would do something like this:


void OnStart()
{
SetLanternLitCallback("camera_flash");
}

void camera_flash(bool abLit)
{
AddTimer("", 0.1f, "LanternOff");
}

void LanternOff(string &in asTimer)
{
SetLanternDisabled(true);
}



Maybe this works, but I haven't tested it.
09-08-2013, 04:47 PM
Find


Messages In This Thread
Camera flash script - by JonnyAnomaly - 09-08-2013, 02:38 PM
RE: Camera flash script - by Kreekakon - 09-08-2013, 02:43 PM
RE: Camera flash script - by PutraenusAlivius - 09-08-2013, 02:46 PM
RE: Camera flash script - by JonnyAnomaly - 09-08-2013, 03:18 PM
RE: Camera flash script - by Apfel - 09-08-2013, 04:47 PM
RE: Camera flash script - by JonnyAnomaly - 09-08-2013, 05:44 PM



Users browsing this thread: 1 Guest(s)