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
Script Help [unsolved]Lantern use script problem.
Red Offline
Posting Freak

Posts: 1,757
Threads: 49
Joined: Feb 2012
Reputation: 54
#15
RE: Lantern use script problem.

(11-03-2012, 05:25 PM)beecake Wrote: AddTimer("Check", 0.1f, "CheckLantern"); //This should be called when you want to check if the lanterh is used. And it should only be called once

void CheckLantern(string &in asTimer)
{
if(GetLanternActive() == true)
{
//Do the stuff you want it to
}
AddTimer("Check", 0.1f, "CheckLantern"); //This makes it loop

}
Darn, no hope, thanks still.
(This post was last modified: 11-03-2012, 05:50 PM by Red.)
11-03-2012, 05:48 PM
Find


Messages In This Thread
[unsolved]Lantern use script problem. - by Red - 11-03-2012, 03:08 PM
RE: Lantern use script problem. - by Red - 11-03-2012, 03:34 PM
RE: Lantern use script problem. - by Red - 11-03-2012, 03:45 PM
RE: Lantern use script problem. - by Red - 11-03-2012, 03:57 PM
RE: Lantern use script problem. - by Red - 11-03-2012, 04:24 PM
RE: Lantern use script problem. - by Red - 11-03-2012, 04:44 PM
RE: Lantern use script problem. - by Red - 11-03-2012, 05:00 PM
RE: Lantern use script problem. - by Red - 11-03-2012, 05:48 PM
RE: Lantern use script problem. - by Red - 11-03-2012, 05:54 PM



Users browsing this thread: 2 Guest(s)