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
Script Help Make an script work when Pick up key?
SilentHideButFine Offline
Member

Posts: 156
Threads: 38
Joined: May 2012
Reputation: 6
#8
RE: Make an script work when Pick up key?

(06-14-2012, 09:41 AM)Mackiiboy Wrote:
(06-13-2012, 10:15 PM)SilentHideButFine Wrote: Anyone?
.
Try an impulse instead of a force on the door:

AddPropImpulse("mansion_2", 50, 0, -50, "world");

You will not hear the sound if it should fade out in 3 seconds, try to put the value 0 instead and it will work just fine.

PlaySoundAtEntity("", "react_scare.snt", "mansion_2", 3, true);
AddPropImpulse("mansion_2", 50, 0, -50, "world"); dosnt work :S want screenshot of the door ?

[url= http://www.moddb.com/mods/jessehmusic [/url] ,HOSPITAL OF HORROR MOD
06-14-2012, 04:17 PM
Find


Messages In This Thread
RE: Make an script work when Pick up key? - by SilentHideButFine - 06-14-2012, 04:17 PM



Users browsing this thread: 2 Guest(s)