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
Level Editor Help How to get Grunt to open cabinet doors
drunkmonk Offline
Member

Posts: 109
Threads: 7
Joined: Jun 2012
Reputation: 4
#11
RE: How to get Grunt to open cabinet doors

Ok so what you want to do for this case is delete the AddTimer("", 1.0, "MonsterPath"); in the void OnStart
and replace it with this
SetEntityPlayerInteractCallback("name of your key in here", "MonsterPath", false);
and then change your void MonsterPath from
void MonsterPath(string &in asTimer)
to
void MonsterPath(string &in asEntity)
leave everything else in this void the same.
06-22-2012, 06:46 PM
Find


Messages In This Thread
RE: How to get Grunt to open cabinet doors - by drunkmonk - 06-22-2012, 06:46 PM



Users browsing this thread: 1 Guest(s)