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
Scripting issues
ferryadams10 Offline
Senior Member

Posts: 288
Threads: 40
Joined: Apr 2011
Reputation: 19
#2
RE: Scripting issues



This'll do it.

Add me on skype or steam for more questions.

Skype: ferryadams10

Steam: ferryadams1

PHP Code: (Select All)
void OnStart()
{
AddEntityCollideCallback("Player""Teleport""Nightmare"true1);
AddEntityCollideCallback("Player""Grr""Rawr"true1);

void Nightmare(string &in asParentstring &in asChildint alState)
{
AddTimer(""0"Fadeout");
TeleportPlayer("PlayerStartArea_2");
AddTimer(""4.0"Fadein");
}

void Fadein(float afTime)
{
Fadein(2);
}

void Fadeout(float afTime)
{
Fadeout(0);
}

void Rawr(string &in asParentstring &in asChildint alState)
{
PlaySoundAtEntity("insanity_monster_roar01""insanity_monster_roar01.ogg""player"0false);

void OnEnter()
{
}

void OnLeave()
{




Got a nice sofa
Please come and have a seat for a while

(This post was last modified: 12-22-2011, 10:40 AM by ferryadams10.)
12-22-2011, 10:39 AM
Find


Messages In This Thread
Scripting issues - by Nomad923 - 12-22-2011, 10:10 AM
RE: Scripting issues - by ferryadams10 - 12-22-2011, 10:39 AM
RE: Scripting issues - by Nomad923 - 12-22-2011, 10:45 AM
RE: Scripting issues - by Linus Ågren - 12-22-2011, 01:57 PM
RE: Scripting issues - by DRedshot - 12-22-2011, 06:18 PM
RE: Scripting issues - by Nomad923 - 12-23-2011, 12:47 AM
RE: Scripting issues - by Nomad923 - 12-23-2011, 03:33 AM



Users browsing this thread: 1 Guest(s)