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
Opening cabinet
Putmalk Offline
Senior Member

Posts: 290
Threads: 13
Joined: Apr 2012
Reputation: 15
#2
RE: Opening cabinet

Is the cabinet named "cabinet"?

You unlock the cabinet but the grunt can't open it himself. You need to open the cabinet itself (try SetMoveObjectState("cabinet", 1);.

On another note, move your Callbacks in the onEnter() function to onStart(). Completely worthless and wasteful to have them in OnEnter. OnStart is where you want them.

05-25-2012, 01:11 PM
Find


Messages In This Thread
Opening cabinet - by Topsu - 05-25-2012, 01:06 PM
RE: Opening cabinet - by Putmalk - 05-25-2012, 01:11 PM
RE: Opening cabinet - by Topsu - 05-25-2012, 01:55 PM
RE: Opening cabinet - by Putmalk - 05-25-2012, 02:00 PM
RE: Opening cabinet - by Topsu - 05-25-2012, 02:25 PM



Users browsing this thread: 1 Guest(s)