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
Game Logic Question and Script Help
Your Computer Offline
SCAN ME!

Posts: 3,456
Threads: 32
Joined: Jul 2011
Reputation: 235
#4
RE: Game Logic Question and Script Help

void ScareDoorScript(string &in asEntity)
{
AddPropImpulse("ScareDoor_1", 0, 0, 5, "World");
    PlaySoundAtEntity("", "21_bang_door.snt", "ScareDoor_1", 0, false);
    PlaySoundAtEntity("", "21_intro_scream.snt", ScareDoor_1", 0, false);
SetSwingDoorLocked("SacreDoor_1", false, true);
}
You missed a quotation mark on the second PlaySoundAtEntity.

Tutorials: From Noob to Pro
08-01-2011, 09:25 PM
Website Find


Messages In This Thread
RE: Game Logic Question and Script Help - by Kyle - 08-01-2011, 08:52 PM
RE: Game Logic Question and Script Help - by Your Computer - 08-01-2011, 09:25 PM



Users browsing this thread: 1 Guest(s)