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
Texture, Model & Animation Help Music "Lower" if player enters area
Amnesiaplayer Offline
Senior Member

Posts: 539
Threads: 105
Joined: Jun 2014
Reputation: 0
#9
RE: Music "Lower" if player enters area

(10-07-2015, 03:01 PM)FlawlessHappiness Wrote: Show the script where you tried it.

PHP Code: (Select All)
{
PlayMusic("SnowStorm"true101true);
AddEntityCollideCallback("Player""Area115""MoveGround"true0);
AddEntityCollideCallback("Player""SlowDown""Slower"false0);
AddEntityCollideCallback("Player""Slow2""Slower2"false0);
AddEntityCollideCallback("Player""Mlow""Lower"false0);
SetMessage("Messages""Perspective2"2);
}

void Lower(string &in asParentstring &in asChildint alState)
{
if(
alState == 1)

PlayGuiSound("quest_completed"5);
PlayMusic("SnowStorm"true0.512true);
}

if(
alState == -1)
{
PlayMusic("SnowStorm"true101true);
}

10-07-2015, 06:19 PM
Find


Messages In This Thread
RE: Music "Lower" if player enters area - by Amnesiaplayer - 10-07-2015, 06:19 PM



Users browsing this thread: 2 Guest(s)