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
Help with GetLocalVarInt
Paulpolska Offline
Member

Posts: 144
Threads: 29
Joined: Jun 2011
Reputation: 0
#3
RE: Help with GetLocalVarInt

If i set "==" too is don't work. Hmm how I call this function when three wheels is putting ?

I check it but still is dead

void CollideWheel(string &in asParent, string &in asChild, int alState)
{
    AddLocalVarInt("asChild", 1);
    PlaySoundAtEntity("", "impact_metal_low", "Player", 0.05f, false);
    if(GetLocalVarInt("asChild") == 3) {
      AddEntityCollideCallback("Player", "ScriptArea_2", "StartSectionDead", false, 1);
}
}


void StartSectionDead(string &in asParent, string &in asChild, int alState)
{
SetMessage("Journal", "Slime", 0);
}

MY CUSTOM STORY - - STILL ALIVE - -
http://www.moddb.com/mods/still-alive
07-04-2011, 06:02 PM
Find


Messages In This Thread
Help with GetLocalVarInt - by Paulpolska - 07-04-2011, 05:52 PM
RE: Help with GetLocalVarInt - by DamnNoHtml - 07-04-2011, 05:54 PM
RE: Help with GetLocalVarInt - by Paulpolska - 07-04-2011, 06:02 PM
RE: Help with GetLocalVarInt - by Kyle - 07-04-2011, 06:36 PM
RE: Help with GetLocalVarInt - by palistov - 07-05-2011, 12:30 AM
RE: Help with GetLocalVarInt - by Paulpolska - 07-05-2011, 12:06 PM



Users browsing this thread: 1 Guest(s)