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
Timer problems
DnALANGE Offline
Banned

Posts: 1,549
Threads: 73
Joined: Jan 2012
#14
RE: Timer problems

foodhurt2
foodhurt3
foodhurt4

Try removing those
---
I see the problem...
///Time between hunger periods
PHP Code: (Select All)
void startGlobalHungerTimer(){
     
AddTimer("starvation"600"foodhurt");
 } 
--
void eating1(string &in asTimer){
FadePlayerRollTo(0, 33, 33);
FadeIn(2);
GiveSanityBoostSmall();
AddPlayerHealth(20);
SetPlayerMoveSpeedMul(1);
FadeImageTrailTo(0, 0.5f);
PlayGuiSound("eating-apple.snt", 10);
SetEntityActive("ScriptArea_7", false);
SetMessage("Messages", "IAte", 2);
startGlobalHungerTimer();// <--- Keeps recalling every time!
}
(This post was last modified: 06-30-2015, 07:32 PM by DnALANGE.)
06-30-2015, 07:28 PM
Find


Messages In This Thread
Timer problems - by Rahmerh - 06-30-2015, 07:04 PM
RE: Timer problems - by DnALANGE - 06-30-2015, 07:14 PM
RE: Timer problems - by Rahmerh - 06-30-2015, 07:14 PM
RE: Timer problems - by DnALANGE - 06-30-2015, 07:17 PM
RE: Timer problems - by Rahmerh - 06-30-2015, 07:17 PM
RE: Timer problems - by DnALANGE - 06-30-2015, 07:18 PM
RE: Timer problems - by Rahmerh - 06-30-2015, 07:19 PM
RE: Timer problems - by DnALANGE - 06-30-2015, 07:20 PM
RE: Timer problems - by Rahmerh - 06-30-2015, 07:21 PM
RE: Timer problems - by DnALANGE - 06-30-2015, 07:21 PM
RE: Timer problems - by Rahmerh - 06-30-2015, 07:23 PM
RE: Timer problems - by DnALANGE - 06-30-2015, 07:24 PM
RE: Timer problems - by Rahmerh - 06-30-2015, 07:25 PM
RE: Timer problems - by DnALANGE - 06-30-2015, 07:28 PM
RE: Timer problems - by Rahmerh - 06-30-2015, 07:31 PM
RE: Timer problems - by DnALANGE - 06-30-2015, 07:36 PM
RE: Timer problems - by Rahmerh - 06-30-2015, 08:19 PM



Users browsing this thread: 1 Guest(s)