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
Thunder light problem
FlawlessHappiness Offline
Posting Freak

Posts: 3,980
Threads: 145
Joined: Mar 2012
Reputation: 171
#3
RE: Thunder light problem

Heres my script:


void OnStart()
{

AddTimer("thunder_light_start", 10, "thunder_light_start");


}


///TIMERS

void thunder_light_start(string &in asTimer)
{
AddDebugMessage("Starting Thunder", false);
StartEffectFlash(0, 1, 5);
AddTimer("thunder_sound_start", 4, "thunder_sound_start");
}

void thunder_sound_start(string &in asTimer)
{
PlaySoundAtEntity("thunder_sound", "general_thunder", "Player", 0.5f, false);
AddTimer("thunder_light_start", 20, "thunder_light_start");
}

And the video:

http://www.youtube.com/watch?v=g-10IeeTr...e=youtu.be

Trying is the first step to success.
(This post was last modified: 07-06-2012, 04:31 PM by FlawlessHappiness.)
07-06-2012, 04:27 PM
Find


Messages In This Thread
Thunder light problem - by FlawlessHappiness - 07-06-2012, 04:08 PM
RE: Thunder light problem - by Your Computer - 07-06-2012, 04:13 PM
RE: Thunder light problem - by FlawlessHappiness - 07-06-2012, 04:27 PM
RE: Thunder light problem - by Your Computer - 07-06-2012, 05:34 PM
RE: Thunder light problem - by FlawlessHappiness - 07-06-2012, 05:57 PM
RE: Thunder light problem - by Your Computer - 07-06-2012, 06:10 PM
RE: Thunder light problem - by FlawlessHappiness - 07-06-2012, 06:13 PM
RE: Thunder light problem - by Adny - 07-06-2012, 06:36 PM
RE: Thunder light problem - by FlawlessHappiness - 07-06-2012, 09:03 PM
RE: Thunder light problem - by Your Computer - 07-06-2012, 09:25 PM
RE: Thunder light problem - by FlawlessHappiness - 07-06-2012, 09:42 PM



Users browsing this thread: 1 Guest(s)