Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 1 Vote(s) - 4 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Script Help I'm having trouble with the timer.. {Solved}
Kazakarumariou Away
An angry man.

Posts: 283
Threads: 8
Joined: Jul 2012
Reputation: 14
#8
RE: I'm having trouble with the timer..

(08-08-2012, 12:31 AM)SmokeMelvin Wrote:
(08-08-2012, 12:30 AM)Harthex Wrote: You have two threads?! I posted on the second one
I didn't wanted to start another subject on this thread. But anyways, what did you post on there? It got removed so I can't go check it out.
I had a whole script set up for you
ill repost it in just a second.

void ArmScare(string &in asEntity, int alState)
{
PlaySoundAtEntity("", "Ow_Shit", "Player", 0, false);
GiveSanityDamage(8.0f, true);
AddTimer("1", 7, "MonsterDoorSlam1");
}

void MonsterDoorSlam1(string &in asTimer)
{
if(asTimer == "1"){
AddPropImpulse("Door01", 0, 0, 5, "World");
PlaySoundAtEntity("", "21_bang_door.snt", "Door01", 0, false);
StartPlayerLookAt("BangDoor", 2, 2, "");
AddTimer("", 6, "AfterOwShit");
}
}
(This post was last modified: 08-08-2012, 12:41 AM by Kazakarumariou.)
08-08-2012, 12:40 AM
Find


Messages In This Thread
Solution - by Ongka - 08-07-2012, 11:53 PM
RE: Solution - by Melvin - 08-08-2012, 12:02 AM
RE: Solution - by MyRedNeptune - 08-08-2012, 12:29 AM
RE: I'm having trouble with the timer.. - by Kazakarumariou - 08-08-2012, 12:40 AM



Users browsing this thread: 1 Guest(s)