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


Thread Rating:
  • 3 Vote(s) - 1 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Timer + Flying Jesus (easy problem)
ClayPigeon Offline
Member

Posts: 214
Threads: 13
Joined: Mar 2012
Reputation: 8
#2
RE: Timer + Flying Jesus (easy problem)

void Cabinet_Jesus_Func(string &in asParent, string &in asChild, int alState)
{    
    AddTimer("", 2.0f, "Timer_01");
}

void Timer_01(string &in asTimer)
{
    SetEntityActive("Jesus_2", true);    
    AddPropForce("Jesus_2", -30000, 0, 0, "World");
    PlaySoundAtEntity("Scream_1", "scream_1.ogg", "Player", 0.0f, false);
}
(This post was last modified: 04-18-2012, 05:46 PM by ClayPigeon.)
04-18-2012, 05:46 PM
Find


Messages In This Thread
RE: Timer + Flying Jesus (easy problem) - by ClayPigeon - 04-18-2012, 05:46 PM



Users browsing this thread: 1 Guest(s)