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


Thread Rating:
  • 1 Vote(s) - 4 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Two problems
The chaser Offline
Posting Freak

Posts: 2,486
Threads: 76
Joined: Jun 2012
Reputation: 113
#2
RE: Two problems

(12-13-2012, 01:49 PM)Storfigge Wrote: So the problems I have is:

1. I have a map where you run in a corridor and grunts appears behind you. I've used ShowEnemyPlayerPosition("???"); on all monsters to make them run after the player. At the end of the corridor there is a ladder that leads to the next floor. But once the layer has climbed it the monster still "runs" after you. The sound that starts when you get followed by them keep playing even though I've reached reached another floor and closed a hatch under me. Why does this happen and how do I stop it?

2. On the final level, before you reach the end that will start the credits you will be followed by a grunt. During the credits there is music playing but the same sound from my first problem keeps playing once the credits start. How do I stop all sound from the game except my credit theme during the credits?

Thanks.
Showing your script could work for all of them. Nevertheless:

1: Have you tried "DisableEnemyTriggers("Nameofmonster", true);" ? Of course, activated when you climb the ladder

2: PlayMusic("Music.ogg", false, 1, 1, 1, false);

The bolded false means it doesn't loop when stopped. I hope that worked Wink

THE OTHERWORLD (WIP)
[Image: k6vbdhu]

Aculy iz dolan.
12-13-2012, 02:12 PM
Find


Messages In This Thread
Two problems - by Storfigge - 12-13-2012, 01:49 PM
RE: Two problems - by The chaser - 12-13-2012, 02:12 PM
RE: Two problems - by Storfigge - 12-18-2012, 12:36 PM
RE: Two problems - by Kreekakon - 12-18-2012, 01:44 PM
RE: Two problems - by Storfigge - 12-18-2012, 02:06 PM
RE: Two problems - by The chaser - 12-18-2012, 02:13 PM
RE: Two problems - by Storfigge - 12-19-2012, 01:25 AM
RE: Two problems - by FlawlessHappiness - 12-19-2012, 06:48 AM
RE: Two problems - by Storfigge - 12-19-2012, 11:54 AM
RE: Two problems - by FlawlessHappiness - 12-19-2012, 11:57 AM
RE: Two problems - by Storfigge - 12-19-2012, 12:11 PM
RE: Two problems - by FlawlessHappiness - 12-19-2012, 12:39 PM
RE: Two problems - by Storfigge - 12-19-2012, 02:00 PM
RE: Two problems - by FlawlessHappiness - 12-19-2012, 02:02 PM
RE: Two problems - by Storfigge - 12-19-2012, 02:03 PM
RE: Two problems - by FlawlessHappiness - 12-19-2012, 02:58 PM
RE: Two problems - by Storfigge - 12-19-2012, 03:58 PM
RE: Two problems - by Your Computer - 12-19-2012, 05:21 PM
RE: Two problems - by FlawlessHappiness - 12-19-2012, 04:21 PM



Users browsing this thread: 1 Guest(s)