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
Breaking doors and litting candles
Slegg Offline
Junior Member

Posts: 5
Threads: 1
Joined: Mar 2011
Reputation: 0
#1
Breaking doors and litting candles

Hey guys

I tried searching but failed - Im trying to make a door break (like the way grunt breaks it but instantly, not three hits) after a trigger and making a few candles not be lit.

Also, is there any way to make a grunt active without him doing his enabled sound?
03-24-2011, 06:37 PM
Find
Viperdream Offline
Member

Posts: 124
Threads: 16
Joined: Jan 2011
Reputation: 0
#2
RE: Breaking doors and litting candles

SetPropHealth("door_1", 1);

To make it break instantly.

Then you could add an area, and when the grunt enters it. He activates the script to set the lights off:
SetLampLit("candle_1", false);

03-24-2011, 06:41 PM
Find
Pandemoneus Offline
Senior Member

Posts: 328
Threads: 2
Joined: Sep 2010
Reputation: 0
#3
RE: Breaking doors and litting candles

Concerning the grunt sound:

Copy the entities\enemy\grunt\grunt.ent to your custom story folder using the same path and edit it. There are some self-explanatory options you can edit in there.

(This post was last modified: 03-24-2011, 07:14 PM by Pandemoneus.)
03-24-2011, 07:14 PM
Find
Slegg Offline
Junior Member

Posts: 5
Threads: 1
Joined: Mar 2011
Reputation: 0
#4
RE: Breaking doors and litting candles

Great thats what i needed thanks for the help.
03-24-2011, 07:42 PM
Find




Users browsing this thread: 1 Guest(s)