The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 906 - File: showthread.php PHP 7.2.24-0ubuntu0.18.04.17 (Linux)
File Line Function
/showthread.php 906 errorHandler->error



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
Variable
X4anco Offline
Member

Posts: 157
Threads: 66
Joined: Apr 2011
Reputation: 0
#1
Variable

Hello peoples Big Grin ,
Would:
GetLocalVarInt(string& asName);
Get the value of the variable so I could use it like this:
void Wake(string &in asTimer)
{
    if(GetLocalVarInt(Breath)==3) Something
    else PlayGuiSound("react_breath_slow.snt", 1);
        AddLocalVarInt("Breath", 1);
        AddTimer("return", 2.45, "Wake");
}
And so it repeats until "Breath" has got to three. I have already set up "Breath" to 0

Thanks

...
08-03-2011, 12:36 AM
Find


Messages In This Thread
Variable - by X4anco - 08-03-2011, 12:36 AM
RE: Variable - by Apjjm - 08-03-2011, 12:40 AM
RE: Variable - by X4anco - 08-03-2011, 12:47 AM



Users browsing this thread: 1 Guest(s)