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
Valve interaction
Anxt Offline
Senior Member

Posts: 588
Threads: 12
Joined: Mar 2011
Reputation: 10
#5
RE: Valve interaction

Oh sorry, forgot to fix the function name. My bad. Should be:

void Turnonheater(string &in entity, int alState)
{
if(alState==1)
{
PlaySoundAtEntity("", "22_fire.snt", "geostove", 0, false);
SetLampLit("bonfire", true, false);
}
}

Forgot to add the alState bit. Now it should work.

04-19-2011, 02:12 AM
Find


Messages In This Thread
Valve interaction - by Josh707 - 04-19-2011, 01:50 AM
RE: Valve interaction - by Anxt - 04-19-2011, 01:56 AM
RE: Valve interaction - by Josh707 - 04-19-2011, 02:00 AM
RE: Valve interaction - by Apjjm - 04-19-2011, 02:04 AM
RE: Valve interaction - by Anxt - 04-19-2011, 02:12 AM
RE: Valve interaction - by Josh707 - 04-19-2011, 02:14 AM
RE: Valve interaction - by Anxt - 04-19-2011, 02:27 AM
RE: Valve interaction - by Josh707 - 04-19-2011, 12:48 PM



Users browsing this thread: 1 Guest(s)