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
How to script sounds
zeravia Offline
Member

Posts: 228
Threads: 16
Joined: Jul 2011
Reputation: 1
#5
RE: How to script sounds

i'm not sure exactly, but i think it's similiar to what i have for one of my own scares... here...does this help at all? i'm just getting started with my own scripting, but i like helping people...especially since i was helped. XD

void Scare(string &in asParent, string &in asChild, int alState)
{
StartPlayerLookAt("armour_nice_complete_7", 7.0f, 7.0f, "");
SetEntityActive("Scareskull", true);
AddPropImpulse("armour_nice_complete_7", 2, 1, 0, "World");
PlayGuiSound("react_scare.snt", 1.2f);
AddTimer("S", 0.4, "S");

Diary of a madman -Onhold

New - [Image: at_1374739.png]
08-18-2011, 04:02 PM
Website Find


Messages In This Thread
How to script sounds - by Khan - 08-18-2011, 02:49 PM
RE: How to script sounds - by zeravia - 08-18-2011, 03:16 PM
RE: How to script sounds - by Khan - 08-18-2011, 03:43 PM
RE: How to script sounds - by zeravia - 08-18-2011, 04:02 PM
RE: How to script sounds - by Kyle - 08-18-2011, 04:07 PM
RE: How to script sounds - by Kyle - 08-18-2011, 04:01 PM



Users browsing this thread: 1 Guest(s)